copyWith method
Create a copy of this operation with the given fields replaced with the new values.
Implementation
InsertOp copyWith({String? text, Map<String, Object>? attributes}) =>
InsertOp(text ?? this.text,
attributes: attributes ?? this.attributes.asMap());