clear method

  1. @override
Future<void> clear(
  1. Collection collection
)
override

Clear function used to clear all documents in a collection.

Implementation

@override
clear(collection) async {
  await _sendMessage(ClearMessageRequest(path: collection.path));
}