toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.countryCode != null) {
    json[r'countryCode'] = this.countryCode;
  } else {
    json[r'countryCode'] = null;
  }
  if (this.logoUrl != null) {
    json[r'logoUrl'] = this.logoUrl;
  } else {
    json[r'logoUrl'] = null;
  }
  if (this.value != null) {
    json[r'value'] = this.value;
  } else {
    json[r'value'] = null;
  }
  if (this.inputs != null) {
    json[r'inputs'] = this.inputs;
  } else {
    json[r'inputs'] = null;
  }
  if (this.details != null) {
    json[r'details'] = this.details;
  } else {
    json[r'details'] = null;
  }
  return json;
}