BaselineValueFormat.fromJson constructor
BaselineValueFormat.fromJson(
- Map json_
Implementation
BaselineValueFormat.fromJson(core.Map json_)
: this(
comparisonType: json_.containsKey('comparisonType')
? json_['comparisonType'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
negativeColor: json_.containsKey('negativeColor')
? Color.fromJson(
json_['negativeColor'] as core.Map<core.String, core.dynamic>)
: null,
negativeColorStyle: json_.containsKey('negativeColorStyle')
? ColorStyle.fromJson(json_['negativeColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
position: json_.containsKey('position')
? TextPosition.fromJson(
json_['position'] as core.Map<core.String, core.dynamic>)
: null,
positiveColor: json_.containsKey('positiveColor')
? Color.fromJson(
json_['positiveColor'] as core.Map<core.String, core.dynamic>)
: null,
positiveColorStyle: json_.containsKey('positiveColorStyle')
? ColorStyle.fromJson(json_['positiveColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
textFormat: json_.containsKey('textFormat')
? TextFormat.fromJson(
json_['textFormat'] as core.Map<core.String, core.dynamic>)
: null,
);