pluginVersion property

Future<String> pluginVersion

Implementation

static Future<String> get pluginVersion async {
  try {
    // TODO:
    // final String pubspecData = ("See tl_flutter_plugin version in pubspec.yaml.");

    return "2.0.0";
  } on Exception catch (e) {
    throw TealeafException.create(
        code: 7, msg: 'Unable to obtain platform version: ${e.toString()}');
  }
}