Browse Source

Network: remove unused method

Neeraj Gupta 4 years ago
parent
commit
3c7c855619
1 changed files with 1 additions and 5 deletions
  1. 1 5
      lib/core/network.dart

+ 1 - 5
lib/core/network.dart

@@ -18,12 +18,8 @@ class Network {
   }
 
   Network._privateConstructor();
+
   static Network instance = Network._privateConstructor();
 
   Dio getDio() => _dio;
-
-  Future<String> _getAppVersion() async {
-    final pkgInfo = await PackageInfo.fromPlatform();
-    return pkgInfo.version;
-  }
 }