ReportFooter.fromJson constructor Null safety

ReportFooter.fromJson(
  1. Map _json
)

Implementation

ReportFooter.fromJson(core.Map _json)
    : this(
        matchingRowCount: _json.containsKey('matchingRowCount')
            ? _json['matchingRowCount'] as core.String
            : null,
        warnings: _json.containsKey('warnings')
            ? (_json['warnings'] as core.List)
                .map((value) => ReportWarning.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );