RoutinePythonOptions.fromMap constructor

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

Implementation

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