Presentation.fromJson constructor
Presentation.fromJson(
- Map json_
Implementation
Presentation.fromJson(core.Map json_)
: this(
layouts: json_.containsKey('layouts')
? (json_['layouts'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
locale: json_.containsKey('locale')
? json_['locale'] as core.String
: null,
masters: json_.containsKey('masters')
? (json_['masters'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
notesMaster: json_.containsKey('notesMaster')
? Page.fromJson(
json_['notesMaster'] as core.Map<core.String, core.dynamic>)
: null,
pageSize: json_.containsKey('pageSize')
? Size.fromJson(
json_['pageSize'] as core.Map<core.String, core.dynamic>)
: null,
presentationId: json_.containsKey('presentationId')
? json_['presentationId'] as core.String
: null,
revisionId: json_.containsKey('revisionId')
? json_['revisionId'] as core.String
: null,
slides: json_.containsKey('slides')
? (json_['slides'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);