getFlutterVersion static method
Returns the Flutter SDK version the app was compiled with. Used to track publisher Flutter version spread.
Implementation
static Future<String> getFlutterVersion() async {
try {
final String version = await _nativeChannel.invokeMethod(GET_FLUTTER_VERSION);
TBLLogger.log('TBLSdkPlugin | getFlutterVersion = $version');
return version;
} catch (e) {
TBLLogger.logException('TBLSdkPlugin | getFlutterVersion() | $e');
return "null";
}
}