toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      // abbreviated names, because we will store a lot of these.
      'e': eventId,
      'ts': ts,
    };