maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult searchUser(
    1. String uuid
    )?,
  2. TResult updateUser(
    1. UserModel user,
    2. UserModel oldUser
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String uuid)? searchUser,
  TResult Function(UserModel user, UserModel oldUser)? updateUser,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;