EmbeddedObject.fromJson constructor
EmbeddedObject.fromJson(
- Map json_
Implementation
EmbeddedObject.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
embeddedDrawingProperties:
json_.containsKey('embeddedDrawingProperties')
? EmbeddedDrawingProperties.fromJson(
json_['embeddedDrawingProperties']
as core.Map<core.String, core.dynamic>)
: null,
embeddedObjectBorder: json_.containsKey('embeddedObjectBorder')
? EmbeddedObjectBorder.fromJson(json_['embeddedObjectBorder']
as core.Map<core.String, core.dynamic>)
: null,
imageProperties: json_.containsKey('imageProperties')
? ImageProperties.fromJson(json_['imageProperties']
as core.Map<core.String, core.dynamic>)
: null,
linkedContentReference: json_.containsKey('linkedContentReference')
? LinkedContentReference.fromJson(json_['linkedContentReference']
as core.Map<core.String, core.dynamic>)
: null,
marginBottom: json_.containsKey('marginBottom')
? Dimension.fromJson(
json_['marginBottom'] as core.Map<core.String, core.dynamic>)
: null,
marginLeft: json_.containsKey('marginLeft')
? Dimension.fromJson(
json_['marginLeft'] as core.Map<core.String, core.dynamic>)
: null,
marginRight: json_.containsKey('marginRight')
? Dimension.fromJson(
json_['marginRight'] as core.Map<core.String, core.dynamic>)
: null,
marginTop: json_.containsKey('marginTop')
? Dimension.fromJson(
json_['marginTop'] as core.Map<core.String, core.dynamic>)
: null,
size: json_.containsKey('size')
? Size.fromJson(
json_['size'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);