maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult create(
- Create data
- TResult update(
- Update data
- TResult delete(
- Delete data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(Create data)? create,
TResult Function(Update data)? update,
TResult Function(Delete data)? delete,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;