getUser abstract method

Future<User> getUser(
  1. String id, {
  2. bool withFollowCounts = false,
})

Get the user data

Usage

await getUser('123');

API docs: retrieving-users

Implementation

Future<User> getUser(String id, {bool withFollowCounts = false});