friendInfo method

Future<Redditor> friendInfo()

Returns a Redditor object with friend information populated.

Friend fields include those such as note. Other fields may not be completely initialized.

Implementation

Future<Redditor> friendInfo() async =>
    (await _throwOnInvalidRedditor(() async => await reddit.get(
        apiPath['friend_v1'].replaceAll(_userRegExp, _name)))) as Redditor;