mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
15 lines
335 B
Dart
15 lines
335 B
Dart
|
|
||
|
import 'dart:async';
|
||
|
|
||
|
import 'package:flutter/services.dart';
|
||
|
|
||
|
class CwSharedExternal {
|
||
|
static const MethodChannel _channel =
|
||
|
const MethodChannel('cw_shared_external');
|
||
|
|
||
|
static Future<String> get platformVersion async {
|
||
|
final String version = await _channel.invokeMethod('getPlatformVersion');
|
||
|
return version;
|
||
|
}
|
||
|
}
|