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