getSingleCustomList method

Future<SingleCustomListResponse> getSingleCustomList(
  1. String listId
)
inherited

Gets the data of the customList identified by it's listId or list uuid and returns a SingleCustomListResponsecontaining the data.

Implementation

Future<SingleCustomListResponse> getSingleCustomList(String listId) async {
  var response = await getSingleCustomListResponse(listId);
  try {
    return SingleCustomListResponse.fromJson(jsonDecode(response.body));
  } on Exception {
    throw MangadexServerException(jsonDecode(response.body));
  }
}