EmbeddedChart.fromJson constructor
EmbeddedChart.fromJson(
- Map json_
Implementation
EmbeddedChart.fromJson(core.Map json_)
: this(
border: json_.containsKey('border')
? EmbeddedObjectBorder.fromJson(
json_['border'] as core.Map<core.String, core.dynamic>)
: null,
chartId: json_.containsKey('chartId')
? json_['chartId'] as core.int
: null,
position: json_.containsKey('position')
? EmbeddedObjectPosition.fromJson(
json_['position'] as core.Map<core.String, core.dynamic>)
: null,
spec: json_.containsKey('spec')
? ChartSpec.fromJson(
json_['spec'] as core.Map<core.String, core.dynamic>)
: null,
);