cake_wallet/cw_shared_external/lib/cw_shared_external.dart

15 lines
335 B
Dart
Raw Permalink Normal View History

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