getAllAchievement method

Future<Either<ApiError, List<Achievement>>> getAllAchievement()

Implementation

Future<Either<ApiError, List<Achievement>>> getAllAchievement() => get(
      _routePrefix,
      (json) => (json as List<dynamic>)
          .map((e) => Achievement.fromJson(e))
          .toList(),
    );