exists method

  1. @override
Future<bool> exists(
  1. String fileFullPath
)
override

By passing fileFullPath, which is the full path of the storage, it checks if the file exists at that location.

Returns true if the file exists.

ストレージのフルパスであるfileFullPathを渡すことでその位置にファイルがあるかをチェックします。

ファイルが存在する場合trueを返します。

Implementation

@override
Future<bool> exists(String fileFullPath) async {
  fileFullPath = fileFullPath.trimQuery().trimString("/");
  return _data.containsKey(fileFullPath);
}