clearPermission static method
Implementation
static void clearPermission({bool hasCTV = false}) {
if (hasCTV) Constants().contributeRole = null;
else {
Constants().permission = null;
Constants().userId = null;
}
}
static void clearPermission({bool hasCTV = false}) {
if (hasCTV) Constants().contributeRole = null;
else {
Constants().permission = null;
Constants().userId = null;
}
}