isCRCEnabled method

  1. @override
Future<bool> isCRCEnabled()

Query if the CRC feature enabled.
Return true means that the CRC enabled, otherwise it's disabled. Note: only get the correct value after join session

Implementation

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