Future<int> get count => _methodChannel .invokeMethod('getDocumentCount', <String, dynamic>{'database': name});