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