getProfile method

Future<Either<ApiError, Profile>> getProfile(
  1. String id
)

Implementation

Future<Either<ApiError, Profile>> getProfile(String id) =>
    get("$_profileRoutesPrefix/$id", (json) => Profile.fromJson(json));