toJson method
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,
};