map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult item(
    1. PopupMenuItem value
    ),
  2. required TResult divider(
    1. PopupMenuDivider value
    ),
  3. required TResult checked(
    1. 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;