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