@override Object toJson() => { 'name': name, if (destination != null) 'destination': destination!.toJson(), 'parent': parent, };