BackgroundFillGradient.fromJson constructor
Parses a BackgroundFillGradient from TDLib JSON.
Implementation
factory BackgroundFillGradient.fromJson(Map<String, dynamic> json) =>
BackgroundFillGradient(
topColor: _readInt(json['top_color']),
bottomColor: _readInt(json['bottom_color']),
rotationAngle: _readInt(json['rotation_angle']),
);