CreateShapeRequest.fromJson constructor

CreateShapeRequest.fromJson(
  1. Map json_
)

Implementation

CreateShapeRequest.fromJson(core.Map json_)
    : this(
        elementProperties: json_.containsKey('elementProperties')
            ? PageElementProperties.fromJson(json_['elementProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        shapeType: json_.containsKey('shapeType')
            ? json_['shapeType'] as core.String
            : null,
      );