MangaCheck.fromJson constructor Null safety

MangaCheck.fromJson(
  1. Map<String, dynamic> json
)

Implementation

MangaCheck.fromJson(Map<String, dynamic> json) {
  try {
    result = json['result'] ?? '';
  } on Exception catch (e) {
    throw MangadexServerException(json);
  }
}