maybeMap<TResult extends Object?> method
Null safety
- {TResult item(
- PopupMenuItem value
- TResult divider(
- PopupMenuDivider value
- TResult checked(
- CheckedPopupMenuItem value
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(PopupMenuItem value)? item,
TResult Function(PopupMenuDivider value)? divider,
TResult Function(CheckedPopupMenuItem value)? checked,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;