canCreate method

Future<bool> canCreate(
  1. String doctype
)

Check if the user can create a doctype.

Implementation

Future<bool> canCreate(String doctype) async =>
    await _canInUserPermissions('can_create', doctype);