$NonCompliantFile.fromJson constructor Null safety

$NonCompliantFile.fromJson(
  1. Map _json
)

Implementation

$NonCompliantFile.fromJson(core.Map _json)
    : this(
        displayCommand: _json.containsKey('displayCommand')
            ? _json['displayCommand'] as core.String
            : null,
        path: _json.containsKey('path') ? _json['path'] as core.String : null,
        reason: _json.containsKey('reason')
            ? _json['reason'] as core.String
            : null,
      );