FlutterAuthenticationResponse class

consentInfo is only populated when a country and ID type are provided in the FlutterAuthenticationRequest. To get information about all countries and ID types instead, SmileIDService.getProductsConfig

timestamp is not a DateTime because technically, any arbitrary value could have been passed to it. This applies to all other timestamp fields in the SDK.

Constructors

FlutterAuthenticationResponse({required bool success, required String signature, required String timestamp, required FlutterPartnerParams partnerParams, String? callbackUrl, FlutterConsentInfo? consentInfo})

Properties

callbackUrl String?
getter/setter pair
consentInfo FlutterConsentInfo?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
partnerParams FlutterPartnerParams
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
getter/setter pair
success bool
getter/setter pair
timestamp String
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(Object result) FlutterAuthenticationResponse