GoogleCloudApihubV1Attribute.fromJson constructor

GoogleCloudApihubV1Attribute.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApihubV1Attribute.fromJson(core.Map json_)
  : this(
      allowedValues: (json_['allowedValues'] as core.List?)
          ?.map(
            (value) => GoogleCloudApihubV1AllowedValue.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      cardinality: json_['cardinality'] as core.int?,
      createTime: json_['createTime'] as core.String?,
      dataType: json_['dataType'] as core.String?,
      definitionType: json_['definitionType'] as core.String?,
      description: json_['description'] as core.String?,
      displayName: json_['displayName'] as core.String?,
      mandatory: json_['mandatory'] as core.bool?,
      name: json_['name'] as core.String?,
      scope: json_['scope'] as core.String?,
      updateTime: json_['updateTime'] as core.String?,
    );