getCPPAStatus method

Future<CCPAStatus> getCPPAStatus()

Whether or not user has opted out of the sale of their personal information.

Default: CCPAStatus.undefined See CCPAStatus

Implementation

Future<CCPAStatus> getCPPAStatus() async {
  final int? index =
      await casInternalBridge.channel.invokeMethod<int>('getCPPAStatus');
  return CCPAStatus.values[index ?? 0];
}