toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'status'] = this.status;
if (this.url != null) {
json[r'url'] = this.url;
} else {
json[r'url'] = null;
}
json[r'media'] = this.media;
if (this.reason != null) {
json[r'reason'] = this.reason;
} else {
json[r'reason'] = null;
}
if (this.code != null) {
json[r'code'] = this.code;
} else {
json[r'code'] = null;
}
return json;
}