optInSchematicRecordingStatus static method

Future<bool> optInSchematicRecordingStatus()

This method is same as optIntoSchematicRecordings() but will return boolean for status.

NOTE: This will not work for Android. This will return false.

Implementation

static Future<bool> optInSchematicRecordingStatus() async {
  if (Platform.isIOS) {
    final bool? optStatus =
        await _channel.invokeMethod<bool>('optInSchematicRecordingStatus');
    return optStatus!;
  }
  return false;
}