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'error'] = this.error;
    json[r'type'] = this.type;
  return json;
}