FileHashes.fromJson constructor

FileHashes.fromJson(
  1. Map _json
)

Implementation

FileHashes.fromJson(core.Map _json)
    : this(
        fileHash: _json.containsKey('fileHash')
            ? (_json['fileHash'] as core.List)
                .map((value) => Hash.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );