isUserFollowing method

Future<bool> isUserFollowing(
  1. String user,
  2. String target
)

Check if the specified user is following target.

Implementation

Future<bool> isUserFollowing(String user, String target) =>
    github.request('GET', '/users/$user/following/$target').then((x) {
      return x.statusCode == 204;
    });