fetch emoji list from gemoji for a more complete emoji list
This commit is contained in:
parent
b93f4c979c
commit
313dc377ec
4 changed files with 131 additions and 19 deletions
17
lib/models/emoji.dart
Normal file
17
lib/models/emoji.dart
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "emoji.freezed.dart";
|
||||
part "emoji.g.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Emoji with _$Emoji {
|
||||
const factory Emoji({
|
||||
required String emoji,
|
||||
required String category,
|
||||
required IList<String> aliases,
|
||||
required String description,
|
||||
required IList<String> tags,
|
||||
}) = _Emoji;
|
||||
|
||||
factory Emoji.fromJson(Map<String, Object?> json) => _$EmojiFromJson(json);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue