merge method
Merges these overrides with another
Implementation
@override
TextConfig merge(MetaFieldConfig? other) {
if (other == null) return this;
if (other is TextConfig) {
return this.copy(
autocorrect: other.autocorrect,
textInputType: other.textInputType,
textCapitalization: other.textCapitalization,
isDisabled: other.isDisabled,
isRequired: other.isRequired,
);
} else {
return this.copy(isDisabled: other.isDisabled, isRequired: isRequired);
}
}