GetTrialArgs.fromMap constructor

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

Implementation

factory GetTrialArgs.fromMap(Map<String, dynamic> map) {
  return GetTrialArgs(
    location: pulumi.Input.fromValue(map['location'] as String),
    project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    studyId: pulumi.Input.fromValue(map['studyId'] as String),
    trialId: pulumi.Input.fromValue(map['trialId'] as String),
  );
}