toMap method

Map<String, int> toMap()

Implementation

Map<String, int> toMap() => {'width': width, 'height': height};