SignalResult.fromJson constructor
- dynamic object
Implementation
factory SignalResult.fromJson(dynamic object) {
if (object is List) {
return SignalResult._(
object[0] == 1 ? false : true, object[1], int.parse(object[2]));
}
throw getExceptionFromDefaultResult(DefaultResult.fromJson(object));
}