OpenApiGetChannelMediaResponse class

Response model for the methods on TwitchChannelMedia class

Inheritance
  • Object
  • BaseHttpResponse
  • OpenApiGetChannelMediaResponse

Constructors

OpenApiGetChannelMediaResponse({int? status, String? message, List<ChannelMediaData> channelMediaDataList = const [], String? template})

Properties

channelMediaDataList List<ChannelMediaData>
getter/setter pair
hasError bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
finalinherited
reason → ErrorReason
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
finalinherited
template String?
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) OpenApiGetChannelMediaResponse
Convert the HTTP response into a OpenApiGetChannelMediaResponse instance
fromJson(Map<String, dynamic>? json) OpenApiGetChannelMediaResponse
Convert the body of the HTTP response into a OpenApiGetChannelMediaResponse instance