StructuralElement.fromJson constructor
StructuralElement.fromJson(
- Map json_
Implementation
StructuralElement.fromJson(core.Map json_)
: this(
endIndex: json_.containsKey('endIndex')
? json_['endIndex'] as core.int
: null,
paragraph: json_.containsKey('paragraph')
? Paragraph.fromJson(
json_['paragraph'] as core.Map<core.String, core.dynamic>)
: null,
sectionBreak: json_.containsKey('sectionBreak')
? SectionBreak.fromJson(
json_['sectionBreak'] as core.Map<core.String, core.dynamic>)
: null,
startIndex: json_.containsKey('startIndex')
? json_['startIndex'] as core.int
: null,
table: json_.containsKey('table')
? Table.fromJson(
json_['table'] as core.Map<core.String, core.dynamic>)
: null,
tableOfContents: json_.containsKey('tableOfContents')
? TableOfContents.fromJson(json_['tableOfContents']
as core.Map<core.String, core.dynamic>)
: null,
);