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