current<T> static method
T
current<T>({
- T nativeResolver()?,
- T androidResolver()?,
- T iOSResolver()?,
- T chromeExtensionResolver()?,
- T fuschiaResolver()?,
- T linuxResolver()?,
- T macOSResolver()?,
- T webResolver()?,
- T windowsResolver()?,
- T defaultResolver()?,
Implementation
static T current<T>({
T Function()? nativeResolver,
T Function()? androidResolver,
T Function()? iOSResolver,
T Function()? chromeExtensionResolver,
T Function()? fuschiaResolver,
T Function()? linuxResolver,
T Function()? macOSResolver,
T Function()? webResolver,
T Function()? windowsResolver,
T Function()? defaultResolver,
}) {
return PlatformResolver(
nativeResolver: nativeResolver,
androidResolver: androidResolver,
iOSResolver: iOSResolver,
chromeExtensionResolver: chromeExtensionResolver,
fuschiaResolver: fuschiaResolver,
linuxResolver: linuxResolver,
macOSResolver: macOSResolver,
webResolver: webResolver,
windowsResolver: windowsResolver,
defaultResolver: defaultResolver,
).resolve();
}