create static method
PlaidService
create(
{ - ChopperClient? client,
- Authenticator? authenticator,
- Uri? baseUrl,
- Iterable? interceptors,
})
Implementation
static PlaidService create({
ChopperClient? client,
Authenticator? authenticator,
Uri? baseUrl,
Iterable<dynamic>? interceptors,
}) {
if (client != null) {
return _$PlaidService(client);
}
final newClient = ChopperClient(
services: [_$PlaidService()],
converter: $JsonSerializableConverter(),
interceptors: interceptors ?? [],
authenticator: authenticator,
baseUrl: baseUrl ?? Uri.parse('http://'));
return _$PlaidService(newClient);
}