toJSON method

Map<String, dynamic> toJSON()

Converts the insert operation to JSON.

Implementation

Map<String, dynamic> toJSON() => values.fold<Map<String, dynamic>>(
      {},
      (prev, value) => prev..addAll(value.toJSON()),
    );