Sticker class

A sticker entry used by the keyboard.

Constructors

Sticker({required String assetUrl, required String category})
Creates a sticker with an asset or network URL and category.

Properties

assetUrl String
getter/setter pair
category String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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>
Converts this sticker to JSON.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) Sticker
Creates a sticker from a JSON map.