FaceGateCloudProvider constructor
FaceGateCloudProvider({})
Implementation
FaceGateCloudProvider({
required this.baseUrl,
this.apiKey,
this.timeout = const Duration(seconds: 10),
this.retryCount = 1,
this.basePath = '/api/v1',
http.Client? httpClient,
LivenessChecker? livenessChecker,
}) : _client = httpClient ?? http.Client(),
_livenessChecker = livenessChecker ?? const LivenessChecker(),
_ownsClient = httpClient == null;