getScanlationGroupById function Null safety
- String groupId
Returns an Scanlation class instance containing info of a Scanlation Group identified by it's groupId
or UUID
Implementation
Future<Scanlation> getScanlationGroupById(String groupId) async {
var response = await getScanlationGroupByIdResponse(groupId);
try {
return Scanlation.fromJson(jsonDecode(response.body));
} on Exception {
throw MangadexServerException(jsonDecode(response.body));
}
}