ShapeProperties.fromJson constructor
ShapeProperties.fromJson(
- Map json_
Implementation
ShapeProperties.fromJson(core.Map json_)
: this(
autofit: json_.containsKey('autofit')
? Autofit.fromJson(
json_['autofit'] as core.Map<core.String, core.dynamic>)
: null,
contentAlignment: json_.containsKey('contentAlignment')
? json_['contentAlignment'] as core.String
: null,
link: json_.containsKey('link')
? Link.fromJson(
json_['link'] as core.Map<core.String, core.dynamic>)
: null,
outline: json_.containsKey('outline')
? Outline.fromJson(
json_['outline'] as core.Map<core.String, core.dynamic>)
: null,
shadow: json_.containsKey('shadow')
? Shadow.fromJson(
json_['shadow'] as core.Map<core.String, core.dynamic>)
: null,
shapeBackgroundFill: json_.containsKey('shapeBackgroundFill')
? ShapeBackgroundFill.fromJson(json_['shapeBackgroundFill']
as core.Map<core.String, core.dynamic>)
: null,
);