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