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