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