Shape.fromJson constructor
Shape.fromJson(
- Map json_
Implementation
Shape.fromJson(core.Map json_)
: this(
placeholder: json_.containsKey('placeholder')
? Placeholder.fromJson(
json_['placeholder'] as core.Map<core.String, core.dynamic>)
: null,
shapeProperties: json_.containsKey('shapeProperties')
? ShapeProperties.fromJson(json_['shapeProperties']
as core.Map<core.String, core.dynamic>)
: null,
shapeType: json_.containsKey('shapeType')
? json_['shapeType'] as core.String
: null,
text: json_.containsKey('text')
? TextContent.fromJson(
json_['text'] as core.Map<core.String, core.dynamic>)
: null,
);