toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'x_percentage': xPercentage,
  'y_percentage': yPercentage,
  'width_percentage': widthPercentage,
  'height_percentage': heightPercentage,
  'rotation_angle': rotationAngle,
  'corner_radius_percentage': cornerRadiusPercentage,
  '@type': constructor,
};