toJson method

  1. @override
Map<String, dynamic> toJson()

Implementation

@override
Map<String, dynamic> toJson() {
  return <String, dynamic>{
    'id': id,
    'title': title,
    'newFeature': newFeature,
    'publishTime': publishTime,
    'publishType': publishType,
    'upgradeType': upgradeType,
    'popTimes': popTimes,
    'popInterval': popInterval,
    'versionCode': versionCode,
    'versionName': versionName,
    'apkMd5': apkMd5,
    'apkUrl': apkUrl,
    'fileSize': fileSize,
    'imageUrl': imageUrl,
    'updateType': updateType,
  };
}