SubscriptionsResponse.from constructor

SubscriptionsResponse.from({
  1. required int statusCode,
  2. required String reasonPhrase,
  3. required Map<String, String> headers,
  4. required List<FollowingUser> followingUsers,
})

Returns the new instance of SubscriptionsResponse based on arguments.

Implementation

SubscriptionsResponse.from({
  required int statusCode,
  required String reasonPhrase,
  required Map<String, String> headers,
  required this.followingUsers,
}) : super.from(
        status: Status.from(
          code: statusCode,
          reasonPhrase: reasonPhrase,
        ),
        headers: headers,
      );