when<TResult extends Object?> method

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

Implementation

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