mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
12 lines
410 B
Dart
12 lines
410 B
Dart
import 'package:flutter/services.dart';
|
|
import 'package:np_async/np_async.dart';
|
|
|
|
class Activity {
|
|
static Future<String?> consumeInitialRoute() =>
|
|
_methodChannel.invokeMethod("consumeInitialRoute");
|
|
|
|
static Future<bool> isNewGMapsRenderer() =>
|
|
_methodChannel.invokeMethod<bool>("isNewGMapsRenderer").notNull();
|
|
|
|
static const _methodChannel = MethodChannel("com.nkming.nc_photos/activity");
|
|
}
|