freezed NameValueModel

This commit is contained in:
Ashita Prasad
2023-08-28 09:41:26 +05:30
parent d51465a1d1
commit 867f6e979c
15 changed files with 373 additions and 86 deletions

View File

@ -204,8 +204,9 @@ void main() {
url: 'api.foss42.com/case/lower',
name: 'foss42 api',
requestHeaders: [
NameValueModel('content-length', '18'),
NameValueModel('content-type', 'application/json; charset=utf-8')
NameValueModel(name: 'content-length', value: '18'),
NameValueModel(
name: 'content-type', value: 'application/json; charset=utf-8')
],
requestBodyContentType: ContentType.json,
requestBody: '''{