ProxyRemoteDataSourceImpl class
Implementation of ProxyRemoteDataSource
- Implemented types
Constructors
- ProxyRemoteDataSourceImpl.new({required Client client, ProxySourceConfig sourceConfig = const ProxySourceConfig()})
-
Creates a new ProxyRemoteDataSourceImpl with the given
client
andsourceConfig
const
Properties
- client → Client
-
HTTP client for making requests
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceConfig → ProxySourceConfig
-
Configuration for proxy sources
final
Methods
-
fetchProxies(
{int count = 20, bool onlyHttps = false, List< String> ? countries, List<String> ? regions, List<String> ? isps}) → Future<List< ProxyModel> > -
Fetches proxies from various sources
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited