toJson method

Map<String, dynamic> toJson()

Encode RecentEmoji to json

Implementation

Map<String, dynamic> toJson() => {
      'emoji': emoji,
      'counter': counter,
    };