receive_intent_android34/lib/receive_intent.dart

15 lines
328 B
Dart
Raw Normal View History

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