TableOfContents.fromJson constructor
TableOfContents.fromJson(
- Map json_
Implementation
TableOfContents.fromJson(core.Map json_)
: this(
content: (json_['content'] as core.List?)
?.map((value) => StructuralElement.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
suggestedDeletionIds: (json_['suggestedDeletionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
suggestedInsertionIds: (json_['suggestedInsertionIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);