get method

Future<Uint8List?> get(
  1. String cid, {
  2. String path = '',
})

Returns a Future that resolves to the content of a file or directory associated with the given cid.

Implementation

Future<Uint8List?> get(String cid, {String path = ''}) => _contentManager.get(
  cid,
  path: path,
  gatewayMode: _gatewayMode,
  customGatewayUrl: _customGatewayUrl,
);