Page.fromJson constructor
Page.fromJson(
- Map json_
Implementation
Page.fromJson(core.Map json_)
: this(
layoutProperties: json_.containsKey('layoutProperties')
? LayoutProperties.fromJson(json_['layoutProperties']
as core.Map<core.String, core.dynamic>)
: null,
masterProperties: json_.containsKey('masterProperties')
? MasterProperties.fromJson(json_['masterProperties']
as core.Map<core.String, core.dynamic>)
: null,
notesProperties: json_.containsKey('notesProperties')
? NotesProperties.fromJson(json_['notesProperties']
as core.Map<core.String, core.dynamic>)
: null,
objectId: json_['objectId'] as core.String?,
pageElements: (json_['pageElements'] as core.List?)
?.map((value) => PageElement.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
pageProperties: json_.containsKey('pageProperties')
? PageProperties.fromJson(json_['pageProperties']
as core.Map<core.String, core.dynamic>)
: null,
pageType: json_['pageType'] as core.String?,
revisionId: json_['revisionId'] as core.String?,
slideProperties: json_.containsKey('slideProperties')
? SlideProperties.fromJson(json_['slideProperties']
as core.Map<core.String, core.dynamic>)
: null,
);