toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'connection_id'] = this.connectionId;
  json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
  json[r'me'] = this.me;
  json[r'type'] = this.type;
  return json;
}