get method

Future<User> get()

Implementation

Future<User> get() async {
  final jsonString = await _api._get(_path);
  final map = json.decode(jsonString);

  return User.fromJson(map);
}