toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final url = this.url;
  final accessKey = this.accessKey;
  final name = this.name;
  return {
    'Url': url,
    if (accessKey != null) 'AccessKey': accessKey,
    if (name != null) 'Name': name,
  };
}