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