PublishResult.fromJson constructor

PublishResult.fromJson(
  1. dynamic object
)

Implementation

factory PublishResult.fromJson(dynamic object) {
  return PublishResult._(
      int.parse(object[2]), object[1], object[0] == 1 ? false : true);
}