PlatformUtils class

Provides utility methods for resolving platform-specific configuration.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

buildPlatform(String platform) BuildPlatform
Resolves the build platform associated with the specified platform.
firebaseAppId(FirebaseDetails firebase, String platform) String?
Returns the Firebase application ID for the specified platform.
firebaseOptions(FirebaseDetails firebase, String platform) String?
Returns the Firebase options file path for the specified platform.
firebasePlatform(FirebaseDetails firebase, String platform) FirebasePlatform?
Resolves the Firebase configuration for the specified platform.
isEnabled(InitConfig config, String platform) bool
Determines whether the specified platform is enabled in config.