when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult persist(
- void onComplete()?
- required TResult none(
- void onComplete()?
- required TResult fail(
- String? message,
- void onFail()?
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(void Function()? onComplete) persist,
required TResult Function(void Function()? onComplete) none,
required TResult Function(String? message, void Function()? onFail) fail,
}) =>
throw _privateConstructorUsedError;