Skip to content

Instantly share code, notes, and snippets.

@magicleon94
Created July 15, 2020 10:38
Show Gist options
  • Save magicleon94/3d8381e2adfe780ada282cf453c45708 to your computer and use it in GitHub Desktop.
Save magicleon94/3d8381e2adfe780ada282cf453c45708 to your computer and use it in GitHub Desktop.
conditional imports update for medium article
//in auth0_manager.dart
AuthManager getManager() => Auth0Manager();
//in auth0_manager_for_web.dart
AuthManager getManager() => Auth0ManagerForWeb();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment