HumanLoopActivationOutput.fromJson constructor
HumanLoopActivationOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HumanLoopActivationOutput.fromJson(Map<String, dynamic> json) {
return HumanLoopActivationOutput(
humanLoopActivationConditionsEvaluationResults:
json['HumanLoopActivationConditionsEvaluationResults'] == null
? null
: jsonDecode(
json['HumanLoopActivationConditionsEvaluationResults']
as String),
humanLoopActivationReasons: (json['HumanLoopActivationReasons'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
humanLoopArn: json['HumanLoopArn'] as String?,
);
}