@override Object toJson() => { 'parent': parent, 'task': ?task?.toJson(), if (responseView.isNotDefault) 'responseView': responseView.toJson(), };