getPerm<T extends K> abstract method

Future<RequestResponse<List>> getPerm<T extends K>({
  1. required String doctype,
  2. T? document,
})

Returns the list permission of the current user of a certain doctype.

Implementation

Future<RequestResponse<List<dynamic>>> getPerm<T extends K>(
    {required String doctype, T? document});