BandingProperties.fromJson constructor
BandingProperties.fromJson(
- Map json_
Implementation
BandingProperties.fromJson(core.Map json_)
: this(
firstBandColor: json_.containsKey('firstBandColor')
? Color.fromJson(json_['firstBandColor']
as core.Map<core.String, core.dynamic>)
: null,
firstBandColorStyle: json_.containsKey('firstBandColorStyle')
? ColorStyle.fromJson(json_['firstBandColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
footerColor: json_.containsKey('footerColor')
? Color.fromJson(
json_['footerColor'] as core.Map<core.String, core.dynamic>)
: null,
footerColorStyle: json_.containsKey('footerColorStyle')
? ColorStyle.fromJson(json_['footerColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
headerColor: json_.containsKey('headerColor')
? Color.fromJson(
json_['headerColor'] as core.Map<core.String, core.dynamic>)
: null,
headerColorStyle: json_.containsKey('headerColorStyle')
? ColorStyle.fromJson(json_['headerColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
secondBandColor: json_.containsKey('secondBandColor')
? Color.fromJson(json_['secondBandColor']
as core.Map<core.String, core.dynamic>)
: null,
secondBandColorStyle: json_.containsKey('secondBandColorStyle')
? ColorStyle.fromJson(json_['secondBandColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
);