@override Map<String, dynamic> toJson() => <String, dynamic>{ 'connection': connection?.toJson(), '@type': constructor, };