SessionTemplateEnvironmentConfigPeripheralsConfig.fromMap constructor

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

Implementation

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