startService method

  1. @override
Future<void> startService()
override

Implementation

@override
Future<void> startService() async {
  try {
    await methodChannel.invokeListMethod("startService");
  } on PlatformException catch (e) {
    log("start android service failed.${e.message}",
        name: "$runtimeType",
        level: 10,
        error: e,
        stackTrace: StackTrace.current);
  }
}