cake_wallet/cw_haven/lib/api/cw_haven.dart

15 lines
330 B
Dart
Raw Normal View History

2022-03-30 15:57:04 +00:00
import 'dart:async';
import 'package:flutter/services.dart';
class CwHaven {
static const MethodChannel _channel =
const MethodChannel('cw_haven');
static Future<String> get platformVersion async {
2022-10-12 17:09:57 +00:00
final String version = await _channel.invokeMethod<String>('getPlatformVersion') ?? '';
2022-03-30 15:57:04 +00:00
return version;
}
}