SendResponseModel constructor
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,
Implementation
factory 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}) = _SendResponseModel;