SmileData class

Constructors

SmileData({String? firstName, String? lastName, required String country, String? idNumber, String? idType, required String userId, required int jobType, String? jobId, String? tag, Environment environment = Environment.test, Map<String, dynamic>? additionalValues, required CaptureType captureType})

Properties

additionalValues Map<String, dynamic>?
Anything extra which you may need associated with the current job
final
callbackUrl String?
Callback url to receive responses when they are available from Smile-Identity
final
captureParams Map<String, String>
no setter
captureType CaptureType
Defines what images will be required to be captured when the verification process starts
final
country String
The country of issuance of the Identity Document
final
environment Environment
Default is Environment.test. Don't forget to change it to Environment.prod when you're ready for production
final
firstName String?
User's first name
final
hashCode int
The hash code for this object.
no setterinherited
idNumber String?
identity Document Number
final
idType String?
The type of Identity Document E.g DRIVERS_LICENSE, NATIONAL_ID, PASSPORT
final
jobId String?
A unique job ID. If not provided, a random job ID will be generated.
final
jobType int
Learn more about job types at https://docs.smileidentity.com/integration-options/mobile/android/products-and-job-types
final
lastName String?
User's last name
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
submitParams Map<String, dynamic>
no setter
tag String?
An identifier for the images that will be captured via selfie and/or document capture screens.
final
userId String
User ID to associate the results of this job to.
final

Methods

copyWith({String? firstName, String? lastName, String? country, String? idNumber, String? idType, String? userId, String? jobId, String? tag, int? jobType, Environment? environment, Map<String, dynamic>? additionalValues, CaptureType? captureType, String? callbackUrl}) SmileData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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