SKError class

Dart wrapper around StoreKit's NSError.

Annotations

Constructors

SKError({required int code, required String domain, required Map<String?, Object?>? userInfo})
Creates a new SKError object with the provided information.
const
SKError.fromJson(Map<String, dynamic> map)
Constructs an instance of this from a key-value map of data.
factory

Properties

code int
Error code as defined in the Cocoa Framework.
final
domain String
Error domain as defined in the Cocoa Framework.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userInfo Map<String?, Object?>?
A map that contains more detailed information about the error.
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.
override

Static Methods

convertFromPigeon(SKErrorMessage msg) SKError
Converts SKErrorMessage into the dart equivalent