NEResult<T> class
Constructors
- NEResult({required int code, String? msg, T? data})
-
const
- NEResult.success()
-
const
- NEResult.successWith(T data)
Properties
- code → int
-
final
- data → T?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msg → String?
-
final
- nonNullData → T
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isSuccess(
) → bool -
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