ColorScheme.fromJson constructor
ColorScheme.fromJson(
- Map json_
Implementation
ColorScheme.fromJson(core.Map json_)
: this(
colors: json_.containsKey('colors')
? (json_['colors'] as core.List)
.map((value) => ThemeColorPair.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);