GenericServiceBasicService.fromMap constructor

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

Implementation

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