toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'url'] = url;
  if (auth != null) {
    json[r'auth'] = auth;
  }
  return json;
}