getEnabledPurposes method
Retrieves a list of enabled purposes.
Implementation
@override
Future<List<dynamic>> getEnabledPurposes() async {
final purposes =
await methodChannel.invokeListMethod<dynamic>('getEnabledPurposes');
return purposes ?? [];
}