OpenApiSearchCategoriesResponse class

Response model for the searchCategories method on TwitchSearch class

Inheritance
  • Object
  • BaseHttpResponse
  • OpenApiSearchCategoriesResponse

Constructors

OpenApiSearchCategoriesResponse({int? status, String? message, List<SearchCategory> searchCategoryList = const [], String? pagination})

Properties

hasError bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
finalinherited
pagination String?
final
reason → ErrorReason
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchCategoryList List<SearchCategory>
final
status int?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromHttpResponse(Response response) OpenApiSearchCategoriesResponse
Convert the HTTP response into a OpenApiSearchCategoriesResponse instance
fromJson(Map<String, dynamic>? json) OpenApiSearchCategoriesResponse
Convert the body of the HTTP response into a OpenApiSearchCategoriesResponse instance