toMap method
Converts this WidgetDimensions to a map.
Implementation
Map<String, double> toMap() {
return {
'width': width,
'height': height,
};
}
Converts this WidgetDimensions to a map.
Map<String, double> toMap() {
return {
'width': width,
'height': height,
};
}