Page.fromJson constructor
Page.fromJson(
- Map json_
Implementation
Page.fromJson(core.Map json_)
: this(
content: json_.containsKey('content')
? json_['content'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
subpages: json_.containsKey('subpages')
? (json_['subpages'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);