GetBlacklistReportsResponse.fromJson constructor

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

Implementation

factory GetBlacklistReportsResponse.fromJson(Map<String, dynamic> json) {
  return GetBlacklistReportsResponse(
    blacklistReport: (json['BlacklistReport'] as Map<String, dynamic>).map(
        (k, e) => MapEntry(
            k,
            (e as List)
                .whereNotNull()
                .map(
                    (e) => BlacklistEntry.fromJson(e as Map<String, dynamic>))
                .toList())),
  );
}