authenticate method Null safety

Future<void> authenticate(
  1. AuthPayload payload
)

Authenticates with payload and sets the authToken

Implementation

Future<void> authenticate(AuthPayload payload) async {
  final result = await _adapterFactory.authenticate(payload);
  await _saveAuthToken(result);
}