GoogleCloudApihubV1HttpResponse.fromJson constructor

GoogleCloudApihubV1HttpResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApihubV1HttpResponse.fromJson(core.Map json_)
  : this(
      headers: (json_['headers'] as core.Map<core.String, core.dynamic>?)
          ?.map(
            (key, value) => core.MapEntry(
              key,
              GoogleCloudApihubV1Header.fromJson(
                value as core.Map<core.String, core.dynamic>,
              ),
            ),
          ),
      responseCodes: (json_['responseCodes']
              as core.Map<core.String, core.dynamic>?)
          ?.map((key, value) => core.MapEntry(key, value as core.String)),
    );