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