unset property

  1. @override
NotusAttribute<T?> unset
override

Returns special "unset" version of this attribute.

Unset attribute's value is always null.

When composed into a rich text document, unset attributes remove associated style.

Implementation

@override
NotusAttribute<T?> get unset => NotusAttribute<T?>._(key, scope, null);