PlatformSdkException class abstract
Base class that represents exceptions from the native SDKs.
On the native sides the platform calls might throw exceptions that should be propagated to the dart side. To achieve this the exceptions are sent back within the 3rd param of MethodChannel.Result error function as a Map<String, dynamic>.
Moreover, the platform channel calls will only throw PlatformException which should be divided into separate exceptions that resemble the native ones.
- Implemented types
- Implementers
Constructors
- PlatformSdkException({required MobileAuthenticationClientError error})
- Default constructor for PlatformSdkException.
Properties
- error → MobileAuthenticationClientError
-
The underlying error sent from the native SDK.
final
- 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