BackgroundFillGradient class

Describes a gradient fill of a background.

Inheritance
Available Extensions

Constructors

BackgroundFillGradient({required int top_color, required int bottom_color, required int rotation_angle, int? extra, int? clientId})
Describes a gradient fill of a background

Properties

bottom_color int
A bottom color of the background in the RGB24 format.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
rotation_angle int
Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top_color int
A top color of the background in the RGB24 format.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) BackgroundFillGradient?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"backgroundFillGradient"