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,
      );