ScanProConfig class

Configuration class for ScanPro Flutter plugin

Constructors

ScanProConfig()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 Properties

apiKey ↔ String
API key for authentication
getter/setter pair
apiUrl → String
Get the full API URL including version
no setter
baseUrl ↔ String
Base URL for the ScanPro API
getter/setter pair
maxFileSize ↔ int
Maximum file size for uploads (in bytes) Default: 100MB for free tier
getter/setter pair
timeout ↔ Duration
Timeout duration for API requests (in seconds)
getter/setter pair

Static Methods

configure({String? baseUrl, String? apiKey, String? apiVersion, Duration? timeout, int? maxFileSize}) → void
Configure the ScanPro plugin