get method

  1. @override
Future<String?> get(
  1. String path
)

Get the contents of a file.

Implementation

@override
Future<String?> get(String path) {
  return _attempt<String?>(null, () async {
    final object = await bucket.get(_objectKey(path));
    return object?.readAsString();
  });
}