GoogleCloudApigeeV1Schema.fromJson constructor

GoogleCloudApigeeV1Schema.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1Schema.fromJson(core.Map json_)
    : this(
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1SchemaSchemaElement.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        meta: json_.containsKey('meta')
            ? (json_['meta'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1SchemaSchemaElement.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );