toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'changeStickerSet',
    if (extra != null) '@extra': extra,
    'set_id': set_id,
    'is_installed': is_installed,
    'is_archived': is_archived
  };
}