toMap method
Converts the ImageScale instance to a JSON-compatible map.
Implementation
Map<String, dynamic> toMap() {
return {
'width': width,
'height': height,
};
}
Converts the ImageScale instance to a JSON-compatible map.
Map<String, dynamic> toMap() {
return {
'width': width,
'height': height,
};
}