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