getVersion method

Future<String> getVersion()

is only work dev -> production not working!!!

Implementation

Future<String> getVersion() async {
  final res = await getRelease();
  if (res == null) return '';
  return res.version;
}