VersionInfo.fromMap constructor

VersionInfo.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory VersionInfo.fromMap(Map<String, dynamic> json) {
  return VersionInfo(
    id: json['id'] as int?,
    createdAt: json['created_at'] as int?,
    updatedAt: json['updated_at'] as int?,
    updateStatus: json['update_status'],
    version: json['version'],
    buildVersion: json['build_version'],
    modifyContent: json['modify_content'],
    downloadUrl: json['download_url'],
    apkSize: json['apk_size'],
    apkHashCode: json['apk_hash_code'],
    apkPath: json['apk_path'],
  );
}