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