Status class

Represents the status of a KHQR operation, including success or error details.

Constructors

Status({required int code, required String? errorCode, required String? message})
Creates a Status object.

Properties

code int
The status code. 0 for success, 1 for error.
final
errorCode String?
The error code, if an error occurred.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
A human-readable message describing the status or error.
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
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited