toJson method

Map<String, dynamic> toJson()

Converts to JSON.

Implementation

Map<String, dynamic> toJson() => {
  'conditions': conditions.map((item) => item.toJson()).toList(),
  'key': key,
};