whenOrNull<TResult extends Object?> method

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

Implementation

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