toJson method

Map<String, dynamic> toJson()

Returns JSON-encodeable map of this object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'name': name,
    'title': title,
    'sticker_type': stickerType.toJson(),
    'stickers': stickers,
    'thumbnail': thumbnail,
  }..removeWhere(_nullFilter);
}