AllocationAggregateReservationReservedResourceInfo.fromMap constructor

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

Implementation

factory AllocationAggregateReservationReservedResourceInfo.fromMap(Map<String, dynamic> map) {
  return AllocationAggregateReservationReservedResourceInfo(
    accelerator: (() { final guardedValue = map['accelerator']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AllocationAggregateReservationReservedResourceInfoAccelerator.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}