RequestModel class
Constructors
-
RequestModel({String modelName = '', String featureName = '', String url = '', String varInDartFile = '', String repoName = '', RequestType? requestType, Map<
String, dynamic> body = const {}, Map<String, dynamic> headers = const {}, Map<String, dynamic> params = const {}}) -
RequestModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
body
↔ Map<
String, dynamic> -
getter/setter pair
- featureName ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, dynamic> -
getter/setter pair
- modelName ↔ String
-
getter/setter pair
-
params
↔ Map<
String, dynamic> -
getter/setter pair
- repoName ↔ String
-
getter/setter pair
- requestType ↔ RequestType?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String
-
getter/setter pair
- varInDartFile ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited