checkIfUserFollowsManga function Null safety

Future<bool> checkIfUserFollowsManga(
  1. String token,
  2. String mangaId
)

Implementation

Future<bool> checkIfUserFollowsManga(String token, String mangaId) async {
  var response = await checkIfUserFollowsUserResponse(token, mangaId);
  if (response.statusCode == 200) {
    return true;
  } else {
    return false;
  }
}