when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult reasonRepost(
- ReasonRepost data
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ReasonRepost data) reasonRepost,
required TResult Function(Map<String, dynamic> data) unknown,
}) =>
throw _privateConstructorUsedError;