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