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