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, 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>
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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