when<TResult extends Object?> method
- @optionalTypeArgs
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(@ColorSerialiser() Color color) transparent,
required TResult Function(@ColorSerialiser() Color color) circle,
}) =>
throw _privateConstructorUsedError;