toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.authHeader != null) {
    json[r'authHeader'] = this.authHeader;
  } else {
    json[r'authHeader'] = null;
  }
  if (this.listing != null) {
    json[r'listing'] = this.listing;
  } else {
    json[r'listing'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.secret != null) {
    json[r'secret'] = this.secret;
  } else {
    json[r'secret'] = null;
  }
  if (this.url != null) {
    json[r'url'] = this.url;
  } else {
    json[r'url'] = null;
  }
  return json;
}