GoogleCloudDocumentaiV1beta3DocumentStyleFontSize.fromJson constructor

GoogleCloudDocumentaiV1beta3DocumentStyleFontSize.fromJson(
  1. Map _json
)

Implementation

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