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