SuperTokensDioExtension extension

Dio extension for flexible Dio instance setup.

Usage:

import "package:supertokens_flutter/dio.dart";

final dio = Dio()
  ..addSupertokensInterceptor()
  ..addSentry()
  // ...
on
  • dynamic

Methods

addSupertokensInterceptor() → void
Adds the SuperTokens interceptor to the Dio instance.