GiphyCollection class

Contains a number of GIF resources

Constructors

GiphyCollection({required List<GiphyGif> data, GiphyPagination? pagination, GiphyMeta? meta})
Creates a new giphy collection
const
GiphyCollection.fromJson(Map<String, dynamic> json)
Creates a new giphy collection from json
factory

Properties

data List<GiphyGif>
The actual GIF resources
final
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Returns true when this collection contains 0 gif data elements
no setter
isNotEmpty bool
Returns true when this collection contains at least 1 gif data element
no setter
meta GiphyMeta?
Additional optional meta information
final
pagination GiphyPagination?
Pagination information, if present
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates JSON from this collection
toString() String
A string representation of this object.
override

Operators

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