isSubSessionStarted method

  1. @override
Future<bool> isSubSessionStarted()

Check if the sub-session has been started.
Return true if the sub-session is started, otherwise false.

Implementation

@override
Future<bool> isSubSessionStarted() async {
  return await methodChannel
      .invokeMethod<bool>('isSubSessionStarted')
      .then<bool>((bool? value) => value ?? false);
}