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