toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "max_sequence": max_sequence,
      "events": events.map((e) => e.toJson()).toList()
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);