Operation.insert constructor

Operation.insert(
  1. String text, [
  2. Map<String, dynamic>? attributes
])

Creates operation which inserts text with optional attributes.

Implementation

factory Operation.insert(String text, [Map<String, dynamic>? attributes]) =>
    new Operation._(Operation.insertKey, text.length, text, attributes);