fromJson static method
Implementation
static FileDownloadedPrefixSize? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return FileDownloadedPrefixSize(size: (json['size'] as int?) ?? 0);
}
static FileDownloadedPrefixSize? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return FileDownloadedPrefixSize(size: (json['size'] as int?) ?? 0);
}