ChartData.fromJson constructor
ChartData.fromJson(
- Map json_
Implementation
ChartData.fromJson(core.Map json_)
: this(
aggregateType: json_.containsKey('aggregateType')
? json_['aggregateType'] as core.String
: null,
columnReference: json_.containsKey('columnReference')
? DataSourceColumnReference.fromJson(json_['columnReference']
as core.Map<core.String, core.dynamic>)
: null,
groupRule: json_.containsKey('groupRule')
? ChartGroupRule.fromJson(
json_['groupRule'] as core.Map<core.String, core.dynamic>)
: null,
sourceRange: json_.containsKey('sourceRange')
? ChartSourceRange.fromJson(
json_['sourceRange'] as core.Map<core.String, core.dynamic>)
: null,
);