InlineObject.fromJson constructor
InlineObject.fromJson(
- Map json_
Implementation
InlineObject.fromJson(core.Map json_)
: this(
inlineObjectProperties: json_.containsKey('inlineObjectProperties')
? InlineObjectProperties.fromJson(json_['inlineObjectProperties']
as core.Map<core.String, core.dynamic>)
: null,
objectId: json_.containsKey('objectId')
? json_['objectId'] as core.String
: null,
suggestedDeletionIds: json_.containsKey('suggestedDeletionIds')
? (json_['suggestedDeletionIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
suggestedInlineObjectPropertiesChanges:
json_.containsKey('suggestedInlineObjectPropertiesChanges')
? (json_['suggestedInlineObjectPropertiesChanges']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
SuggestedInlineObjectProperties.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
suggestedInsertionId: json_.containsKey('suggestedInsertionId')
? json_['suggestedInsertionId'] as core.String
: null,
);