CheckTrialEarlyStoppingStateResponse.fromJson constructor
CheckTrialEarlyStoppingStateResponse.fromJson(
- Object? j
Implementation
factory CheckTrialEarlyStoppingStateResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CheckTrialEarlyStoppingStateResponse(
shouldStop: switch (json['shouldStop']) {
null => false,
Object $1 => decodeBool($1),
},
);
}