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