fromMap static method
Implementation
static UpdateEntity? fromMap(Map<String, dynamic>? map) {
if (map == null) return null;
return UpdateEntity(
hasUpdate: map['hasUpdate'],
isForce: map['isForce'],
isIgnorable: map['isIgnorable'],
versionCode: map['versionCode']?.toInt(),
versionName: map['versionName'],
updateContent: map['updateContent'],
downloadUrl: map['downloadUrl'],
apkSize: map['apkSize']?.toInt(),
apkMd5: map['apkMd5'],
);
}