FootnoteReference.fromJson constructor
FootnoteReference.fromJson(
- Map json_
Implementation
FootnoteReference.fromJson(core.Map json_)
: this(
footnoteId: json_.containsKey('footnoteId')
? json_['footnoteId'] as core.String
: null,
footnoteNumber: json_.containsKey('footnoteNumber')
? json_['footnoteNumber'] as core.String
: null,
suggestedDeletionIds: json_.containsKey('suggestedDeletionIds')
? (json_['suggestedDeletionIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
suggestedInsertionIds: json_.containsKey('suggestedInsertionIds')
? (json_['suggestedInsertionIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
suggestedTextStyleChanges:
json_.containsKey('suggestedTextStyleChanges')
? (json_['suggestedTextStyleChanges']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
SuggestedTextStyle.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
textStyle: json_.containsKey('textStyle')
? TextStyle.fromJson(
json_['textStyle'] as core.Map<core.String, core.dynamic>)
: null,
);