getClient abstract method Null safety

FutureOr<AuthClient?> getClient(
  1. AuthServer server,
  2. String? clientID
)

Must return AuthClient for a client ID.

This method must return an instance of AuthClient if one exists for clientID. Otherwise, it must return null. server is the AuthServer requesting the AuthClient.

Implementation

FutureOr<AuthClient?> getClient(AuthServer server, String? clientID);