UpgradeInNative class

An implementation of UpgradePlatform that uses method channels.

Constructors

UpgradeInNative.new()

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

installApk(String filePath) Future<FlutterError?>
Only for android, should check platform before use.
openAppMarket({AppMarket market = AppMarket.official}) Future<FlutterError?>
Only for android, should check platform before use.
openAppStoreInApp(String appId) Future<FlutterError?>
Only for ios, should check platform before use.

Constants

methodChannel → const MethodChannel
The method channel used to interact with the native platform.