getAppVersion method
The installed app's version name (e.g. 1.2.3).
Implementation
@override
Future<String> getAppVersion() async {
try {
return (await methodChannel.invokeMethod<String>('getAppVersion'))!;
} on MissingPluginException {
throw _unsupported;
}
}