encode method

EncodedAsset encode()

Implementation

EncodedAsset encode() => EncodedAsset(
    DataAsset.type,
    <String, Object>{
      _nameKey: name,
      _packageKey: package,
      _fileKey: file.toFilePath(),
    }..sortOnKey());