2022-01-16 16:19:01 +00:00
|
|
|
|
|
|
|
import 'dart:async';
|
|
|
|
import 'package:flutter/services.dart';
|
2022-01-28 03:02:16 +00:00
|
|
|
import 'package:veilid/bridge_generated.dart';
|
2022-01-16 16:19:01 +00:00
|
|
|
|
|
|
|
class Veilid {
|
|
|
|
static const MethodChannel _channel = MethodChannel('veilid');
|
|
|
|
|
|
|
|
static Future<String?> get platformVersion async {
|
|
|
|
final String? version = await _channel.invokeMethod('getPlatformVersion');
|
|
|
|
return version;
|
|
|
|
}
|
|
|
|
}
|