deconstruct<S> method

  1. @override
S deconstruct<S>({
  1. required S insert(
    1. String,
    2. BuiltMap<String, Object>
    ),
  2. required S insertObject(
    1. String,
    2. Object,
    3. BuiltMap<String, Object>
    ),
  3. required S retain(
    1. int,
    2. BuiltMap<String, Object>
    ),
  4. required S delete(
    1. int
    ),
})
override

Execute a function depending on the type of this operation.

Implementation

@override
S deconstruct<S>({
  required S Function(String, BuiltMap<String, Object>) insert,
  required S Function(String, Object, BuiltMap<String, Object>) insertObject,
  required S Function(int, BuiltMap<String, Object>) retain,
  required S Function(int) delete,
}) =>
    insert(text, attributes);