PageElement.fromJson constructor
PageElement.fromJson(
- Map json_
Implementation
PageElement.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
elementGroup: json_.containsKey('elementGroup')
? Group.fromJson(
json_['elementGroup'] as core.Map<core.String, core.dynamic>)
: null,
image: json_.containsKey('image')
? Image.fromJson(
json_['image'] as core.Map<core.String, core.dynamic>)
: null,
line: json_.containsKey('line')
? Line.fromJson(
json_['line'] as core.Map<core.String, core.dynamic>)
: null,
objectId: json_.containsKey('objectId')
? json_['objectId'] as core.String
: null,
shape: json_.containsKey('shape')
? Shape.fromJson(
json_['shape'] as core.Map<core.String, core.dynamic>)
: null,
sheetsChart: json_.containsKey('sheetsChart')
? SheetsChart.fromJson(
json_['sheetsChart'] as core.Map<core.String, core.dynamic>)
: null,
size: json_.containsKey('size')
? Size.fromJson(
json_['size'] as core.Map<core.String, core.dynamic>)
: null,
speakerSpotlight: json_.containsKey('speakerSpotlight')
? SpeakerSpotlight.fromJson(json_['speakerSpotlight']
as core.Map<core.String, core.dynamic>)
: null,
table: json_.containsKey('table')
? Table.fromJson(
json_['table'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
transform: json_.containsKey('transform')
? AffineTransform.fromJson(
json_['transform'] as core.Map<core.String, core.dynamic>)
: null,
video: json_.containsKey('video')
? Video.fromJson(
json_['video'] as core.Map<core.String, core.dynamic>)
: null,
wordArt: json_.containsKey('wordArt')
? WordArt.fromJson(
json_['wordArt'] as core.Map<core.String, core.dynamic>)
: null,
);