Operation.retain constructor
Creates operation which retains length
of characters and optionally
applies attributes.
Implementation
factory Operation.retain(int? length, [Map<String, dynamic>? attributes]) =>
new Operation._(Operation.retainKey, length, '', attributes);