SendResponseModel class

Available extensions
Annotations
  • @unfreezed

Constructors

SendResponseModel({@Default('') String url, @Default('') String method, dynamic data, @Default({}) Map<String, dynamic> queryParams, @Default(0) int statusCode, dynamic body, @Default({}) Map<String, dynamic> headers, @Default({}) Map<String, dynamic> responseHeaders, @Default(0) int timestamp, @Default('') String projectName, @JsonKey(toJson: null, fromJson: null, includeFromJson: false, includeToJson: false) Response? response})
factory
SendResponseModel.fromJson(dynamic json)
factory

Properties

body ↔ dynamic
getter/setter pairinherited
copyWith → $SendResponseModelCopyWith<SendResponseModel>
no setterinherited
data ↔ dynamic
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>
getter/setter pairinherited
method String
getter/setter pairinherited
projectName String
getter/setter pairinherited
queryParams Map<String, dynamic>
getter/setter pairinherited
response ↔ Response?
getter/setter pairinherited
responseHeaders Map<String, dynamic>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
getter/setter pairinherited
timestamp int
getter/setter pairinherited
url String
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited