whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? logBeginConvo(
    1. LogBeginConvo data
    )?,
  2. TResult? logLeaveConvo(
    1. LogLeaveConvo data
    )?,
  3. TResult? logCreateMessage(
    1. LogCreateMessage data
    )?,
  4. TResult? logDeleteMessage(
    1. LogDeleteMessage data
    )?,
  5. TResult? unknown(
    1. Map<String, dynamic> data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(LogBeginConvo data)? logBeginConvo,
  TResult? Function(LogLeaveConvo data)? logLeaveConvo,
  TResult? Function(LogCreateMessage data)? logCreateMessage,
  TResult? Function(LogDeleteMessage data)? logDeleteMessage,
  TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
    throw _privateConstructorUsedError;