ColumnBreak.fromJson constructor
ColumnBreak.fromJson(
- Map json_
Implementation
ColumnBreak.fromJson(core.Map json_)
: this(
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,
);