getSdkVersion static method

Future<String?> getSdkVersion()

Implementation

static Future<String?> getSdkVersion() async {
  try {
    final _sdkv = _extractVersionFromPubspec();
    return _sdkv;
  } catch (e) {
    return _versionNotFound;
  }
}