$Completeness.fromJson constructor Null safety

$Completeness.fromJson(
  1. Map _json
)

Implementation

$Completeness.fromJson(core.Map _json)
    : this(
        arguments: _json.containsKey('arguments')
            ? _json['arguments'] as core.bool
            : null,
        environment: _json.containsKey('environment')
            ? _json['environment'] as core.bool
            : null,
        materials: _json.containsKey('materials')
            ? _json['materials'] as core.bool
            : null,
      );