customAction method Null safety

Future customAction(
  1. String name,
  2. [Map<String, dynamic>? extras]
)

A mechanism to support app-specific actions.

Implementation

Future<dynamic> customAction(String name, [Map<String, dynamic>? extras]);