SendResponseModel class

Available extensions
Annotations
  • @freezed

Constructors

SendResponseModel({@Default('') String url, @Default('') String method, dynamic data, @Default({}) Map<String, dynamic> queryParams, @Default(0) int statusCode, @JsonKey(toJson: _toJsonByData) 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, @Default([]) List<String> extendNotes})
factory
SendResponseModel.fromJson(dynamic json)
factory

Properties

body → dynamic
no setterinherited
copyWith → $SendResponseModelCopyWith<SendResponseModel>
Create a copy of SendResponseModel with the given fields replaced by the non-null parameter values.
no setterinherited
data → dynamic
no setterinherited
extendNotes List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>
no setterinherited
method String
no setterinherited
projectName String
no setterinherited
queryParams Map<String, dynamic>
no setterinherited
response → Response?
no setterinherited
responseHeaders Map<String, dynamic>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
no setterinherited
timestamp int
no setterinherited
url String
no setterinherited

Methods

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

Operators

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