makeKey method

  1. @override
Key makeKey()

Constructs the key for the entity.

Implementation

@override
Key makeKey() {
  try {
    return const AuthKeys() as Key;
  } catch (_) {
    return throw UnimplementedError(
      "You must override makeKey() and return the current key from sub-entity class.",
    );
  }
}