SORIUpdateResult class

The legacy platform update reply, not a cross-platform application outcome.

Android fields are forwarded from native UpdateResult. A successful update may be cached for the next recognition start. iOS cannot report completion: it returns false/false/empty version with an outcome-unavailable diagnostic after requesting the check. Those iOS placeholders do not establish failure, absence of an update, or the active version. Web reports unsupported.

Constructors

SORIUpdateResult({required bool success, required bool updateAvailable, required String currentVersion, String? errorMessage})
const
SORIUpdateResult.fromMap(Map<String, Object?> map)
factory

Properties

currentVersion → String
final
errorMessage → String?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final
updateAvailable → bool
final

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