CancelResultModel extension type
Extension type that represents the result of a cancellation operation.
Wraps a Map<String, dynamic> for result fields. Uses from_json_to_json for type-safe JSON handling.
Constructors
- CancelResultModel({ResultType type = ResultType.success, String? error})
-
factory
- CancelResultModel.failure(String error)
-
factory
- CancelResultModel.fromJson(dynamic json)
-
factory
- CancelResultModel.success()
-
factory
Properties
Static Properties
- empty → CancelResultModel
-
final