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(
FlavorDetails flavor, String platform) → String -
Returns the Firebase application ID for the specified
platform. -
firebaseOptions(
FlavorDetails flavor, String platform) → String -
Returns the Firebase options file path for the specified
platform. -
firebasePlatform(
FlavorDetails flavor, String platform) → FirebasePlatform -
Resolves the Firebase configuration for the specified
platform. -
isEnabled(
InitConfig config, String platform) → bool -
Determines whether the specified
platformis enabled inconfig.