PlatformResolver<T> class
Null safety
Constructors
-
PlatformResolver({T nativeResolver()?, T androidResolver()?, T iOSResolver()?, T chromeExtensionResolver()?, T fuschiaResolver()?, T linuxResolver()?, T macOSResolver()?, T webResolver()?, T windowsResolver()?, T defaultResolver()?, Set<
Platforms> ? supportedPlatforms})
Properties
- android → T
-
read-only
- androidResolver → (T Function()?)
-
final
- chromeExtension → T
-
read-only
- chromeExtensionResolver → (T Function()?)
-
final
- defaultResolver → (T Function()?)
-
final
- fuschia → T
-
read-only
- fuschiaResolver → (T Function()?)
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- iOS → T
-
read-only
- iOSResolver → (T Function()?)
-
final
- linux → T
-
read-only
- linuxResolver → (T Function()?)
-
final
- macOS → T
-
read-only
- macOSResolver → (T Function()?)
-
final
- native → T
-
read-only
- nativeResolver → (T Function()?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- web → T
-
read-only
- webResolver → (T Function()?)
-
final
- windows → T
-
read-only
- windowsResolver → (T Function()?)
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
resolve(
[Platforms? platform]) → T - Resolves the value for the given platform by precedence, defaulting to the current platform.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
current<
T> ({T nativeResolver()?, T androidResolver()?, T iOSResolver()?, T chromeExtensionResolver()?, T fuschiaResolver()?, T linuxResolver()?, T macOSResolver()?, T webResolver()?, T windowsResolver()?, T defaultResolver()?}) → T