WaterfallChartSeries.fromJson constructor
WaterfallChartSeries.fromJson(
- Map json_
Implementation
WaterfallChartSeries.fromJson(core.Map json_)
: this(
customSubtotals: json_.containsKey('customSubtotals')
? (json_['customSubtotals'] as core.List)
.map((value) => WaterfallChartCustomSubtotal.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
data: json_.containsKey('data')
? ChartData.fromJson(
json_['data'] as core.Map<core.String, core.dynamic>)
: null,
dataLabel: json_.containsKey('dataLabel')
? DataLabel.fromJson(
json_['dataLabel'] as core.Map<core.String, core.dynamic>)
: null,
hideTrailingSubtotal: json_.containsKey('hideTrailingSubtotal')
? json_['hideTrailingSubtotal'] as core.bool
: null,
negativeColumnsStyle: json_.containsKey('negativeColumnsStyle')
? WaterfallChartColumnStyle.fromJson(json_['negativeColumnsStyle']
as core.Map<core.String, core.dynamic>)
: null,
positiveColumnsStyle: json_.containsKey('positiveColumnsStyle')
? WaterfallChartColumnStyle.fromJson(json_['positiveColumnsStyle']
as core.Map<core.String, core.dynamic>)
: null,
subtotalColumnsStyle: json_.containsKey('subtotalColumnsStyle')
? WaterfallChartColumnStyle.fromJson(json_['subtotalColumnsStyle']
as core.Map<core.String, core.dynamic>)
: null,
);