hasRoleOf method
Implementation
String hasRoleOf([String? compneyID]) {
if (isDev) return "Devloper";
final id = compneyID ?? compneyIdInUse;
if (id == null) return "Normal User";
if (isOwner(id)) return "Owner";
if (isWorker(id)) return "Worker";
if (isExpired(id)) return "Expired";
return "Normal User";
}