getAllPurposes method

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

Retrieves a list of all purposes.

Implementation

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