remove boilerplate

This commit is contained in:
Prerak Mann
2019-05-10 13:03:41 +05:30
parent 7f1c9c9e8c
commit 59cb4ba91d
7 changed files with 38 additions and 59 deletions

View File

@@ -6,8 +6,5 @@ class NearbyConnections {
static const MethodChannel _channel =
const MethodChannel('nearby_connections');
static Future<String> get platformVersion async {
final String version = await _channel.invokeMethod('getPlatformVersion');
return version;
}
}