$Checksum.fromJson constructor Null safety

$Checksum.fromJson(
  1. Map _json
)

Implementation

$Checksum.fromJson(core.Map _json)
    : this(
        sha256: _json.containsKey('sha256')
            ? _json['sha256'] as core.String
            : null,
      );