toJson method

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

Converts this object to TDLib JSON.

Implementation

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