AuthApi constructor Null safety

AuthApi(
  1. {Dio? dio,
  2. Platform? platform,
  3. TokenManagerProvider? tokenManagerProvider}
)

Implementation

AuthApi(
    {Dio? dio,
    Platform? platform,
    TokenManagerProvider? tokenManagerProvider})
    : _dio = dio ?? AuthApiFactory.kauthApi,
      _platform = platform ?? const LocalPlatform(),
      _tokenManagerProvider =
          tokenManagerProvider ?? TokenManagerProvider.instance;