fromJson static method

RecentEmoji fromJson(
  1. dynamic json
)

Parse RecentEmoji from json

Implementation

static RecentEmoji fromJson(dynamic json) {
  return RecentEmoji(
    Emoji.fromJson(json['emoji'] as Map<String, dynamic>),
    json['counter'] as int,
  );
}