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