VeryfiDart class Null safety

Constructors

VeryfiDart(String clientId, String clientSecret, String username, String apiKey, {String apiVersion = 'v8'})
Init Veryfi SDK. [...]

Properties

apiVersion String
final, inherited
baseUrl String
final, inherited
credentials → VeryfiCredentials
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
httpClient Client
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addLineItem(String documentId, Map<String, dynamic> params) Future<Map<String, dynamic>>
Add line item [...]
deleteDocument(String documentId) Future<Map<String, dynamic>>
Delete document. [...]
deleteDocumentLineItems(String documentId) Future<Map<String, dynamic>>
Delete document lineitems. [...]
deleteLineitem(String documentId, String lineitemId) Future<Map<String, dynamic>>
Delete lineitem. [...]
generateSignature(Map<String, dynamic> params) String
Generate signature. [...]
inherited
getDocumentById(String documentId) Future<Map<String, dynamic>>
Get document by id. [...]
getDocumentLineItems(String documentId) Future<Map<String, dynamic>>
Get document line items [...]
getDocuments() Future<Map<String, dynamic>>
Get all documents. [...]
getHeaders(Map<String, dynamic> params) Map<String, String>
Get headers. [...]
inherited
getLineItem(String documentId, String lineItemId) Future<Map<String, dynamic>>
Get line item [...]
injectMockHttpClient(Client client) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
processDocument(String fileName, String fileData, {List<String>? categories, bool deleteAfterProcessing = false, Map<String, dynamic>? params}) Future<Map<String, dynamic>>
Process document from url. [...]
processDocumentFromURL({String? fileUrl, List<String>? fileUrls, List<String>? categories, bool deleteAfterProcessing = false, int boostMode = 0, String? externalId, int maxPagesToProcess = 1}) Future<Map<String, dynamic>>
Process document from url. [...]
processResponse(Response response) Map<String, dynamic>
Process response. [...]
inherited
request(HTTPMethod method, String path, {Map<String, dynamic>? queryItems, Map<String, dynamic>? body}) Future<Map<String, dynamic>>
API request. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateDocument(String documentId, Map<String, dynamic> params) Future<Map<String, dynamic>>
Update document. [...]
updateLineItem(String documentId, String lineItemId, Map<String, dynamic> params) Future<Map<String, dynamic>>
Update line item [...]

Operators

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