GoogleCloudContentwarehouseV1Value.fromJson constructor

GoogleCloudContentwarehouseV1Value.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1Value.fromJson(core.Map json_)
  : this(
      booleanValue: json_['booleanValue'] as core.bool?,
      datetimeValue:
          json_.containsKey('datetimeValue')
              ? GoogleTypeDateTime.fromJson(
                json_['datetimeValue'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      enumValue:
          json_.containsKey('enumValue')
              ? GoogleCloudContentwarehouseV1EnumValue.fromJson(
                json_['enumValue'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      floatValue: (json_['floatValue'] as core.num?)?.toDouble(),
      intValue: json_['intValue'] as core.int?,
      stringValue: json_['stringValue'] as core.String?,
      timestampValue:
          json_.containsKey('timestampValue')
              ? GoogleCloudContentwarehouseV1TimestampValue.fromJson(
                json_['timestampValue']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );