Collection class

A Pexel Collection resource.

Annotations
  • @JsonSerializable()

Constructors

Collection({String? id, String? title, String? description, bool? private, int? mediaCount, int? photosCount, int? videosCount})
const
Collection.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
The description of the collection.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The id of the collection.
final
mediaCount int?
The total number of media included in this collection.
final
photosCount int?
The total number of photos included in this collection.
final
private bool?
Whether or not the collection is marked as private.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The name of the collection.
final
videosCount int?
The total number of videos included in this collection.
final

Methods

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

Operators

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