StickerPack class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

StickerPack({required String id, required List<Sticker> stickers, required String name, required String skuId, String? coverStickerId, required String description, required String bannerAssetId})
Constructor
StickerPack.fromJson(Map<String, dynamic> json)
From json
factory

Properties

bannerAssetId String
id of the sticker pack's banner image
final
coverStickerId String?
id of a sticker in the pack which is shown as the pack's icon
final
description String
description of the sticker pack
final
hashCode int
The hash code for this object.
no setterinherited
id String
id of the sticker pack
final
name String
name of the sticker pack
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skuId String
id of the pack's SKU
final
stickers List<Sticker>
the stickers in the pack
final

Methods

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

Operators

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