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