getEnabledPurposes method

  1. @override
Future<List> getEnabledPurposes()
override

Retrieves a list of enabled purposes.

Implementation

@override
Future<List<dynamic>> getEnabledPurposes() async {
  final purposes =
      await methodChannel.invokeListMethod<dynamic>('getEnabledPurposes');
  return purposes ?? [];
}