ApiResponse<T> class
Generic API response wrapper
Constructors
- ApiResponse({required bool success, T? data, String? message, String? code})
-
ApiResponse.fromJson(Map<
String, dynamic> json, T fromJsonT(dynamic)?) -
factory
Properties
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