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