getAllPurposesIDs method

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

Retrieves a list of all purposes.

Implementation

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