unfriend method

Future<void> unfriend()

Unfriend the Redditor.

Implementation

Future<void> unfriend() async => await _throwOnInvalidRedditor(() async =>
    await reddit.delete(apiPath['friend_v1'].replaceAll(_userRegExp, _name)));