GoogleCloudDocumentaiV1beta1DocumentPageDimension.fromJson constructor

GoogleCloudDocumentaiV1beta1DocumentPageDimension.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta1DocumentPageDimension.fromJson(core.Map _json)
    : this(
        height: _json.containsKey('height')
            ? (_json['height'] as core.num).toDouble()
            : null,
        unit: _json.containsKey('unit') ? _json['unit'] as core.String : null,
        width: _json.containsKey('width')
            ? (_json['width'] as core.num).toDouble()
            : null,
      );