version property

Future<String> get version

Fetches the version of the package from pubspec.yaml. Everytime when we upload a new version to pub.dev, we need to update this version.

Implementation

static Future<String> get version async {
  String version = "0.0.117";
  ConditionalLogs().customLog("SDK version : $version");
  return version;
}