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