ObjectAnchor.fromJson constructor

ObjectAnchor.fromJson(
  1. Map json_
)

Implementation

ObjectAnchor.fromJson(core.Map json_)
  : this(
      objectId: json_['objectId'] as core.String?,
      shapeTextAnchors: json_.containsKey('shapeTextAnchors')
          ? ShapeTextAnchors.fromJson(
              json_['shapeTextAnchors']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      tableCellAnchors: json_.containsKey('tableCellAnchors')
          ? TableCellAnchors.fromJson(
              json_['tableCellAnchors']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );