GoogleCloudApigeeV1GraphQLOperationGroup.fromMap constructor

GoogleCloudApigeeV1GraphQLOperationGroup.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudApigeeV1GraphQLOperationGroup.fromMap(Map<String, dynamic> map) {
  return GoogleCloudApigeeV1GraphQLOperationGroup(
    operationConfigType: (() { final guardedValue = map['operationConfigType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    operationConfigs: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudApigeeV1GraphQLOperationConfig>(map['operationConfigs']!, (value) => GoogleCloudApigeeV1GraphQLOperationConfig.fromMap((value as Map).cast<String, dynamic>()))),
  );
}