toMap property

Map<String, dynamic> get toMap

Implementation

Map<String, dynamic> get toMap => <String, dynamic>{
      'width': width,
      'height': height,
      'name': name,
    };