maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult sendCode(
- BuildContext context,
- String phone,
- VoidCallback? onSuccess
- TResult checkCode(
- BuildContext context,
- String phone,
- String code,
- VoidCallback? onSuccess,
- TResult logout(
- BuildContext context,
- VoidCallback? onSuccess
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
BuildContext context, String phone, VoidCallback? onSuccess)?
sendCode,
TResult Function(BuildContext context, String phone, String code,
VoidCallback? onSuccess)?
checkCode,
TResult Function(BuildContext context, VoidCallback? onSuccess)? logout,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;