RecommendationsResponse.from constructor
RecommendationsResponse.from({})
Returns the new instance of RecommendationsResponse based on arguments.
Implementation
RecommendationsResponse.from({
required int statusCode,
required String reasonPhrase,
required Map<String, String> headers,
required this.recommendations,
}) : super.from(
status: Status.from(
code: statusCode,
reasonPhrase: reasonPhrase,
),
headers: headers,
);