currentPlatform property
FirebaseOptions
get
currentPlatform
The options for the platform the app runs on.
Throws an UnsupportedError on Linux and Fuchsia, where the Firebase plugins don't run: load by slug or from a bundle there (CodelesslyConfig.slug, Codelessly.asset).
Implementation
static FirebaseOptions get currentPlatform => forPlatform(defaultTargetPlatform, isWeb: kIsWeb);