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