mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 01:47:41 +00:00
14 lines
330 B
Dart
14 lines
330 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<String>('getPlatformVersion') ?? '';
|
|
return version;
|
|
}
|
|
}
|