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