core.Map<core.String, core.dynamic> toJson() => { if (headerId != null) 'headerId': headerId!, if (tabId != null) 'tabId': tabId!, };