when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult createResult(
- CreateResult data
- required TResult updateResult(
- UpdateResult data
- required TResult deleteResult(
- DeleteResult data
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(CreateResult data) createResult,
required TResult Function(UpdateResult data) updateResult,
required TResult Function(DeleteResult data) deleteResult,
required TResult Function(Map<String, dynamic> data) unknown,
}) =>
throw _privateConstructorUsedError;