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