when<TResult extends Object?> method

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

Implementation

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