InsertOp constructor

InsertOp(
  1. String text, {
  2. Map<String, dynamic>? attributes,
})

Create an insert operation.

Implementation

InsertOp(this.text, {Map<String, dynamic>? attributes})
    : attributes = attributes == null
          ? BuiltMap<String, Object>()
          : BuiltMap<String, Object>.from(attributes),
      super._();