ErrorCodeUtils class

Utility functions for error code mapping and validation

Constructors

ErrorCodeUtils.new()

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 Methods

fromPlatformCode(dynamic platformCode, IapPlatform platform) ErrorCode
Maps a platform-specific error code back to the standardized ErrorCode enum
isValidForPlatform(ErrorCode errorCode, IapPlatform platform) bool
Checks if an error code is valid for the specified platform
toPlatformCode(ErrorCode errorCode, IapPlatform platform) → dynamic
Maps an ErrorCode enum to platform-specific code