PlatformResolver<T> class

Constructors

PlatformResolver({T nativeResolver()?, T androidResolver()?, T iOSResolver()?, T chromeExtensionResolver()?, T fuschiaResolver()?, T linuxResolver()?, T macOSResolver()?, T webResolver()?, T windowsResolver()?, T defaultResolver()?})

Properties

android → T
no setter
androidResolver → T Function()?
final
chromeExtension → T
no setter
chromeExtensionResolver → T Function()?
final
defaultResolver → T Function()?
final
fuschia → T
no setter
fuschiaResolver → T Function()?
final
hashCode int
The hash code for this object.
no setterinherited
iOS → T
no setter
iOSResolver → T Function()?
final
linux → T
no setter
linuxResolver → T Function()?
final
macOS → T
no setter
macOSResolver → T Function()?
final
native → T
no setter
nativeResolver → T Function()?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
web → T
no setter
webResolver → T Function()?
final
windows → T
no setter
windowsResolver → T Function()?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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