compile time version definition

This commit is contained in:
unknown
2022-02-01 18:33:13 +01:00
parent 8673a9e42a
commit 0fca636311
14 changed files with 60 additions and 31 deletions

View File

@@ -20,6 +20,7 @@ class JwtUtils {
// ignore: avoid_print
print("ERROR: JwtUtils.decodeJwt: $error");
}
return null;
}
static String? getNameFromJWT(String jwt) {
@@ -36,5 +37,6 @@ class JwtUtils {
case "Gondviselo":
return Role.parent;
}
return null;
}
}