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