cake_wallet/cw_zano/lib/api/cw_zano.dart

14 lines
329 B
Dart
Raw Normal View History

2023-10-02 14:17:35 +00:00
import 'dart:async';
import 'package:flutter/services.dart';
class CwZano {
static const MethodChannel _channel = const MethodChannel('cw_zano');
static Future<String> get platformVersion async {
final String version =
await _channel.invokeMethod<String>('getPlatformVersion') ?? '';
return version;
}
}