canSearch method

Future<bool> canSearch(
  1. String doctype
)

Check if the user can search a doctype.

Implementation

Future<bool> canSearch(String doctype) async =>
    await _canInUserPermissions('can_search', doctype);