URLCategorizationDatabaseClient constructor
URLCategorizationDatabaseClient({})
Implementation
URLCategorizationDatabaseClient(
{required this.apiKey,
String? baseUrl,
http.Client? httpClient,
this.timeout = const Duration(seconds: 30)})
: baseUrl = (baseUrl ?? 'https://www.websitecategorizationapi.com/api')
.replaceFirst(RegExp(r'/+$'), ''),
_http = httpClient ?? http.Client();