mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? startTop(
    1. _StartTopFloatingActionButtonLocation value
    )?,
  2. TResult? miniStartTop(
    1. _MiniStartTopFloatingActionButtonLocation value
    )?,
  3. TResult? centerTop(
    1. _CenterTopFloatingActionButtonLocation value
    )?,
  4. TResult? miniCenterTop(
    1. _MiniCenterTopFloatingActionButtonLocation value
    )?,
  5. TResult? endTop(
    1. _EndTopFloatingActionButtonLocation value
    )?,
  6. TResult? miniEndTop(
    1. _MiniEndTopFloatingActionButtonLocation value
    )?,
  7. TResult? startFloat(
    1. _StartFloatFloatingActionButtonLocation value
    )?,
  8. TResult? miniStartFloat(
    1. _MiniStartFloatFloatingActionButtonLocation value
    )?,
  9. TResult? centerFloat(
    1. _CenterFloatFloatingActionButtonLocation value
    )?,
  10. TResult? miniCenterFloat(
    1. _MiniCenterFloatFloatingActionButtonLocation value
    )?,
  11. TResult? endFloat(
    1. _EndFloatFloatingActionButtonLocation value
    )?,
  12. TResult? miniEndFloat(
    1. _MiniEndFloatFloatingActionButtonLocation value
    )?,
  13. TResult? startDocked(
    1. _StartDockedFloatingActionButtonLocation value
    )?,
  14. TResult? miniStartDocked(
    1. _MiniStartDockedFloatingActionButtonLocation value
    )?,
  15. TResult? centerDocked(
    1. _CenterDockedFloatingActionButtonLocation value
    )?,
  16. TResult? miniCenterDocked(
    1. _MiniCenterDockedFloatingActionButtonLocation value
    )?,
  17. TResult? endDocked(
    1. _EndDockedFloatingActionButtonLocation value
    )?,
  18. TResult? miniEndDocked(
    1. _MiniEndDockedFloatingActionButtonLocation value
    )?,
  19. TResult? endContained(
    1. _EndContainedFloatingActionButtonLocation value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(_StartTopFloatingActionButtonLocation value)? startTop,
  TResult? Function(_MiniStartTopFloatingActionButtonLocation value)?
      miniStartTop,
  TResult? Function(_CenterTopFloatingActionButtonLocation value)? centerTop,
  TResult? Function(_MiniCenterTopFloatingActionButtonLocation value)?
      miniCenterTop,
  TResult? Function(_EndTopFloatingActionButtonLocation value)? endTop,
  TResult? Function(_MiniEndTopFloatingActionButtonLocation value)?
      miniEndTop,
  TResult? Function(_StartFloatFloatingActionButtonLocation value)?
      startFloat,
  TResult? Function(_MiniStartFloatFloatingActionButtonLocation value)?
      miniStartFloat,
  TResult? Function(_CenterFloatFloatingActionButtonLocation value)?
      centerFloat,
  TResult? Function(_MiniCenterFloatFloatingActionButtonLocation value)?
      miniCenterFloat,
  TResult? Function(_EndFloatFloatingActionButtonLocation value)? endFloat,
  TResult? Function(_MiniEndFloatFloatingActionButtonLocation value)?
      miniEndFloat,
  TResult? Function(_StartDockedFloatingActionButtonLocation value)?
      startDocked,
  TResult? Function(_MiniStartDockedFloatingActionButtonLocation value)?
      miniStartDocked,
  TResult? Function(_CenterDockedFloatingActionButtonLocation value)?
      centerDocked,
  TResult? Function(_MiniCenterDockedFloatingActionButtonLocation value)?
      miniCenterDocked,
  TResult? Function(_EndDockedFloatingActionButtonLocation value)? endDocked,
  TResult? Function(_MiniEndDockedFloatingActionButtonLocation value)?
      miniEndDocked,
  TResult? Function(_EndContainedFloatingActionButtonLocation value)?
      endContained,
}) =>
    throw _privateConstructorUsedError;