VersionFile.fromJson constructor

VersionFile.fromJson(
  1. Map _json
)

Implementation

VersionFile.fromJson(core.Map _json)
    : this(
        hash: _json.containsKey('hash') ? _json['hash'] as core.String : null,
        path: _json.containsKey('path') ? _json['path'] as core.String : null,
        status: _json.containsKey('status')
            ? _json['status'] as core.String
            : null,
      );