GtdErrorConstant enum
Values
- typeError → const GtdErrorConstant
-
const GtdErrorConstant(-1001, "-1001_TYPE_ERROR", "Type cast error")
- unknown → const GtdErrorConstant
-
const GtdErrorConstant(-1, "unknown", "Đã có lỗi xảy ra, vui lòng thử lại")
Properties
- code → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- message → String
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
findByCode(
{String? id, String? code}) → GtdErrorConstant
Constants
-
values
→ const List<
GtdErrorConstant> - A constant List of the values in this enum, in order of their declaration.