OpenApiGetStreamsResponse class

Response model for the searchStreams method on TwitchSearch class

Inheritance
  • Object
  • BaseHttpResponse
  • OpenApiGetStreamsResponse

Constructors

OpenApiGetStreamsResponse({int? status, String? message, List<StreamData> streamList = 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
status int?
finalinherited
streamList List<StreamData>
final

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) OpenApiGetStreamsResponse
Convert the HTTP response into a OpenApiGetStreamsResponse instance
fromJson(Map<String, dynamic>? json) OpenApiGetStreamsResponse
Convert the body of the HTTP response into a OpenApiGetStreamsResponse instance