veilid/veilid-flutter/lib/veilid.dart
2022-01-16 11:19:01 -05:00

14 lines
303 B
Dart

import 'dart:async';
import 'package:flutter/services.dart';
class Veilid {
static const MethodChannel _channel = MethodChannel('veilid');
static Future<String?> get platformVersion async {
final String? version = await _channel.invokeMethod('getPlatformVersion');
return version;
}
}