toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (betterAdsStatus != null) 'betterAdsStatus': betterAdsStatus!,
      if (enforcementTime != null) 'enforcementTime': enforcementTime!,
      if (filterStatus != null) 'filterStatus': filterStatus!,
      if (lastChangeTime != null) 'lastChangeTime': lastChangeTime!,
      if (region != null) 'region': region!,
      if (reportUrl != null) 'reportUrl': reportUrl!,
      if (underReview != null) 'underReview': underReview!,
    };