fromMap static method
override
Construct from Map.
Implementation
static ThemeParameters? 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 background_color = _map['background_color']! as int;
var secondary_background_color = _map['secondary_background_color']! as int;
var text_color = _map['text_color']! as int;
var hint_color = _map['hint_color']! as int;
var link_color = _map['link_color']! as int;
var button_color = _map['button_color']! as int;
var button_text_color = _map['button_text_color']! as int;
return ThemeParameters(
extra: extra,
clientId: clientId,
background_color: background_color,
secondary_background_color: secondary_background_color,
text_color: text_color,
hint_color: hint_color,
link_color: link_color,
button_color: button_color,
button_text_color: button_text_color,
);
}