fromJson static method

Emojis? fromJson(
  1. Map<String, dynamic>? json
)

Implementation

static Emojis? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return Emojis(
    emojis: List<String>.from(
      tdListFromJson(
        json['emojis'],
      ).map((item) => (item as dynamic)?.toString() ?? ''),
    ),
  );
}