getMe method

Future<User> getMe()

Implementation

Future<User> getMe() async {
  final response = await _get('users/me');
  final user = User.fromJson(jsonDecode(utf8.decode(response.bodyBytes)));
  return user;
}