GoogleCloudAiplatformV1ReservationAffinity.fromJson constructor

GoogleCloudAiplatformV1ReservationAffinity.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ReservationAffinity.fromJson(core.Map json_)
    : this(
        key: json_['key'] as core.String?,
        reservationAffinityType:
            json_['reservationAffinityType'] as core.String?,
        values: (json_['values'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );