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