toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['app_id'] = this.appId;
  data['app_name'] = this.appName;
  data['app_package_name'] = this.appPackageName;
  data['app_version'] = this.appVersion;
  data['app_created_at'] = this.appCreatedAt;
  if (this.subscription != null) {
    data['subscription'] = this.subscription!.toJson();
  }
  return data;
}