ProgressNotification.fromJson constructor
Implementation
factory ProgressNotification.fromJson(Map<String, dynamic> json) {
return ProgressNotification(
requestId: json['requestId'],
progress: (json['progress'] as num).toDouble(),
total: json['total'] != null ? (json['total'] as num).toDouble() : null,
);
}