$GoogleCloudDocumentaiV1DocumentPageDimension.fromJson constructor

$GoogleCloudDocumentaiV1DocumentPageDimension.fromJson(
  1. Map json_
)

Implementation

$GoogleCloudDocumentaiV1DocumentPageDimension.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,
      );