clone method
Creates a new instance of this attribute with the given value.
This method must be implemented by all subclasses to support cloning and deserialization.
Implementation
@override
TextDirectionAttribute clone(String? value) {
return TextDirectionAttribute(value);
}