canEmail method

Future<bool> canEmail(
  1. String doctype
)

Check if the user can email a doctype.

Implementation

Future<bool> canEmail(String doctype) async =>
    await _canInUserPermissions('can_email', doctype);