Map<String, dynamic> toMap() { return <String, dynamic>{ 'height': height, 'leftOffset': leftOffset, 'topOffset': topOffset, 'width': width, }; }