fromMap static method
override
Construct from Map.
Implementation
static BackgroundFillGradient? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var top_color = _map['top_color']! as int;
var bottom_color = _map['bottom_color']! as int;
var rotation_angle = _map['rotation_angle']! as int;
return BackgroundFillGradient(
extra: extra,
clientId: clientId,
top_color: top_color,
bottom_color: bottom_color,
rotation_angle: rotation_angle,
);
}