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