toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (url != null) {
_json[r'url'] = url;
}
if (secureUrl != null) {
_json[r'secure_url'] = secureUrl;
}
if (type != null) {
_json[r'type'] = type;
}
if (width != null) {
_json[r'width'] = width;
}
if (height != null) {
_json[r'height'] = height;
}
return _json;
}