maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult type()?,
- TResult document()?,
- TResult firstPublicationDate(
- bool descending
- TResult lastPublicationDate(
- bool descending
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String customType, String field, bool descending)? type,
TResult Function(String type, bool descending)? document,
TResult Function(bool descending)? firstPublicationDate,
TResult Function(bool descending)? lastPublicationDate,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;