mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +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;
|
|
}
|
|
}
|