14 lines
328 B
Dart
14 lines
328 B
Dart
|
|
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;
|
|
}
|
|
}
|