mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? changePage(
    1. ChangePage value
    )?,
  2. TResult? setSenderAndReceiver(
    1. SetSenderAndReceiver value
    )?,
  3. TResult? changeActiveButton(
    1. ChangeActiveButton value
    )?,
  4. TResult? setMarker(
    1. SetMarker value
    )?,
  5. TResult? removeMarker(
    1. RemoveMarker value
    )?,
  6. TResult? cancelOrder(
    1. CancelOrder value
    )?,
  7. TResult? clear(
    1. Clear value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(ChangePage value)? changePage,
  TResult? Function(SetSenderAndReceiver value)? setSenderAndReceiver,
  TResult? Function(ChangeActiveButton value)? changeActiveButton,
  TResult? Function(SetMarker value)? setMarker,
  TResult? Function(RemoveMarker value)? removeMarker,
  TResult? Function(CancelOrder value)? cancelOrder,
  TResult? Function(Clear value)? clear,
}) =>
    throw _privateConstructorUsedError;