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