Status constructor
Implementation
factory Status({
$29.Empty? ok,
$45.Error? error,
$46.Event? rejection,
}) {
final _result = create();
if (ok != null) {
_result.ok = ok;
}
if (error != null) {
_result.error = error;
}
if (rejection != null) {
_result.rejection = rejection;
}
return _result;
}