| 1 | import 'dart:async'; |
| 2 | |
| 3 | import 'package:flutter/services.dart'; |
| 4 | |
| 5 | class CwSharedExternal { |
| 6 | static const MethodChannel _channel = const MethodChannel('cw_shared_external'); |
| 7 | |
| 8 | static Future<String> get platformVersion async { |
| 9 | final String version = (await _channel.invokeMethod('getPlatformVersion')).toString(); |
| 10 | return version; |
| 11 | } |
| 12 | } |