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