exists method

Future<bool> exists(
  1. String path
)

Implementation

Future<bool> exists(String path) async {
  final result = await _invoke("exists", {"path": path});
  if (result is! JsonContent) {
    throw _unexpectedResponseError("exists");
  }
  return result.json["exists"];
}