EMDKException class
Exception thrown by EMDK core operations (e.g. opening the EMDK manager or requesting a feature instance) when an error occurs at the SDK level.
The result field mirrors the EMDKResults returned by the SDK, giving access to both the primary EMDKStatusCode and the EMDKExtendedStatusCode.
See: https://techdocs.zebra.com/emdk-for-android/latest/api/reference/com/symbol/emdk/EMDKException/
- Implemented types
Constructors
- EMDKException([EMDKResults? result, String? message])
-
const
-
EMDKException.fromMap(Map<
String, dynamic> map) -
Creates an EMDKException from a Map received via the platform channel.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Optional human-readable message accompanying the exception.
final
- result → EMDKResults?
-
The EMDK result describing why the exception was thrown.
final
- 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
-
toMap(
) → Map< String, dynamic> - Converts this EMDKException to a Map suitable for sending over the platform channel.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited