getCustomObjectPermissions function
Returns permissions for requested by id object
className - name of the class of custom objects which you want to get
id - id of the object, whose permissions you want to get
Implementation
Future<CustomObjectPermissionsResult> getCustomObjectPermissions(
String className, String id) {
return GetCustomObjectPermissionsQuery(className, id).perform();
}