checkPermission abstract method

Future<bool> checkPermission()

Checks if the current user has permission to access specific resources.

This method should be implemented to validate user permissions and return true if the user has the necessary permissions, or false otherwise.

Implementation

Future<bool> checkPermission();