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