maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult createResult(
- CreateResult data
- TResult updateResult(
- UpdateResult data
- TResult deleteResult(
- DeleteResult data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;