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