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