maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<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
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;