Topics class

Provides access to resources related to Topic.

See: Unsplash docs

Constructors

Topics(UnsplashClient client)
Creates a new instance which belongs to client.

Properties

baseUrl Uri
The base url for all endpoints for Topics.
final
client UnsplashClient
The parent UnsplashClient.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String idOrSlug) Request<Topic>
Get a topic
list({List<String>? idsOrSlugs, int? page, int? perPage, TopicOrder? orderBy}) Request<List<Topic>>
List topics
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
photos(String idOrSlug, {int? page, int? perPage, PhotoOrientation? orientation, PhotoOrder? orderBy}) Request<List<Photo>>
Get a topic’s photos
toString() String
A string representation of this object.
inherited

Operators

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