BBaaS class
Constructors
- BBaaS({String scheme = 'http', required String host, int? port, bool debugmode = false, bool? isAndroidEmulator = false, required String clientName, required String authentication, required String privateKey, String network = '', @Deprecated("use gatewayOptions") String gateway = '', GatewayOptions? gatewayOptions, @Deprecated("use gatewayOptions") String iuguApiToken = '', @Deprecated("use gatewayOptions") String iuguApiTokenCriptografado = '', @Deprecated("use gatewayOptions") String asaasAccessToken = '', @Deprecated("use gatewayOptions") String asaasAddressKey = ''})
Properties
- asaasAccessToken → String
-
Deprecated use gatewayOptions
final
- asaasAddressKey → String
-
Deprecated use gatewayOptions
final
- authentication → String
-
authentication-token
final
- baseUri → Uri
-
no setter
- clientName → String
-
clientName used to signup
final
- debugmode → bool
-
set debugmode as true if using sdk
final
- gateway → String
-
Deprecated use gatewayOptions
final
- gatewayOptions → GatewayOptions?
-
use CGOptions() to CG, IuguOptions to Iugu and AsaasOptions to Asaas access parameters. if you need two or more gateways, set two or more BBaaS instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
api.bbaas.com.br for production
final
- isAndroidEmulator → bool?
-
if debugmode = true and android Emulator its need be true
final
- iuguApiToken → String
-
Deprecated use gatewayOptions
final
- iuguApiTokenCriptografado → String
-
Deprecated use gatewayOptions
final
- network → String
-
Choose the Blockchain Network: Hathor
final
- port → int?
-
only use for debugmode with sdk
final
- privateKey → String
-
RSA privateKey (toString())
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
https for production
final
Methods
-
buildSha256(
String key, [Map< String, dynamic> ? access]) → String -
client(
String clientName) → CollectionClient -
decriptData(
String data, String privateKey) → Future< String> -
encriptData(
String data, dynamic publicKey) → Future< String> -
generateKeys(
) → Future< (bool, Map< String, dynamic> )> -
getPem(
String publicKey) → Future< String> -
getRSAPrivateKey(
String privateKey) → Future< RSAPrivateKey> -
getRSAPublicKey(
String publicKey) → Future< RSAPublicKey> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signPayload(
String privateKey, String payload, [String? apikey]) → Future< String> -
toString(
) → String -
A string representation of this object.
inherited
-
validSha256(
String key) → bool -
verifySignPayload(
String publicKey, String signature, String payload, [String? apikey]) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited