ShowModalFunction<T extends Object> typedef
Signature for the function that shows the modal, passed to triggerBuilder.
Implementation
@optionalTypeArgs
typedef ShowModalFunction<T extends Object> = Future<T?> Function();