toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['apkUrl'] = apkUrl;
  data['apkName'] = apkName;
  data['smallIcon'] = smallIcon;
  data['iOSUrl'] = iOSUrl;
  data['apkMD5'] = apkMD5 ?? '';
  data['showNotification'] = showNotification;
  data['jumpInstallPage'] = jumpInstallPage;
  data['showBgdToast'] = showBgdToast;
  return data;
}