getPendingActions method
Returns the current list of pending actions as raw maps. Android only; iOS always returns an empty list.
Implementation
@override
Future<List<Map<String, dynamic>>> getPendingActions() async {
final result = await methodChannel.invokeMethod<List>('getPendingActions');
if (result == null) return const [];
return result.map((e) => Map<String, dynamic>.from(e as Map)).toList();
}