canImport method

Future<bool> canImport(
  1. String doctype
)

Check if the user can import a doctype.

Implementation

Future<bool> canImport(String doctype) async =>
    await _canInUserPermissions('can_import', doctype);