ResultModel.fromJson constructor

ResultModel.fromJson(
  1. Map<String, dynamic> map
)

Implementation

ResultModel.fromJson(Map<String, dynamic> map) {
  type = ResultType.from(map['type']);
  max = map['max'];
  progress = map['progress'];
  apk = map['apk'];
  exception = map['exception'];
}