makeKey method
Constructs the key for the entity.
Subclasses must override this method to return their specific key type.
Implementation
@override
K makeKey() {
try {
return const AuthKeys() as K;
} catch (_) {
return throw UnimplementedError(
"You must override makeKey() and return the current key from sub-entity class.",
);
}
}