mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 02:07:00 +08:00
Rebuild models
This commit is contained in:
@@ -13,10 +13,7 @@ part 'http_request_model.g.dart';
|
||||
class HttpRequestModel with _$HttpRequestModel {
|
||||
const HttpRequestModel._();
|
||||
|
||||
@JsonSerializable(
|
||||
explicitToJson: true,
|
||||
anyMap: true,
|
||||
)
|
||||
@JsonSerializable(explicitToJson: true, anyMap: true)
|
||||
const factory HttpRequestModel({
|
||||
@Default(HTTPVerb.get) HTTPVerb method,
|
||||
@Default("") String url,
|
||||
|
||||
Reference in New Issue
Block a user