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