toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'id': id,
'type': type,
'group': group,
'request_id': requestID,
'paths_fields': pathsFields.map((e) => e.toJson()).toList(),
'url_params_fields': urlParamsFields.map((e) => e.toJson()).toList(),
'headers_fields': headersField.map((e) => e.toJson()).toList(),
'body_fields': bodyFields.map((e) => e.toJson()).toList(),
'auth_fields': authFields.map((e) => e.toJson()).toList(),
'actions_if_success': actionsIfSuccess.map((e) => e.toJson()).toList(),
'actions_if_error': actionsIfError.map((e) => e.toJson()).toList(),
};
}