PluggyConnect constructor
PluggyConnect({
- Key? key,
- String url = 'https://connect.pluggy.ai',
- required String connectToken,
- bool includeSandbox = false,
- String? updateItem,
- List<
String> connectorTypes = const [], - List<
int> connectorIds = const [], - List<
String> countries = const [], - String language = 'pt',
- OnSuccessCallback? onSuccess,
- OnErrorCallback? onError,
- VoidCallback? onOpen,
- VoidCallback? onClose,
- OnEventCallback? onEvent,
Implementation
PluggyConnect(
{Key? key,
this.url = 'https://connect.pluggy.ai',
required this.connectToken,
this.includeSandbox = false,
this.updateItem,
this.connectorTypes = const [],
this.connectorIds = const [],
this.countries = const [],
this.language = 'pt',
this.onSuccess,
this.onError,
this.onOpen,
this.onClose,
this.onEvent})
: super(key: key) {
WidgetsFlutterBinding.ensureInitialized();
_connectUrl = buildConnectUrl(connectToken, updateItem, connectorIds,
connectorTypes, countries, includeSandbox, language, url);
}