Skip to content

Commit

Permalink
Fix analysis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything committed Sep 10, 2023
1 parent fe8be9c commit 2d3c685
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ include: package:lints/recommended.yaml

linter:
rules:
unrelated_type_equality_checks: false
implementation_imports: false

analyzer:
language:
strict-raw-types: true
strong-mode:
implicit-casts: false
strict-casts: false
4 changes: 2 additions & 2 deletions lib/src/emoji.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ Future<List<EmojiDefinition>> getEmojiDefinitions() async {
for (final raw in data)
EmojiDefinition(
primaryName: raw['primaryName'] as String,
names: parseMany(raw['names']),
names: parseMany(raw['names'] as List),
surrogates: raw['surrogates'] as String,
utf32Codepoints: parseMany(raw['utf32codepoints']),
utf32Codepoints: parseMany(raw['utf32codepoints'] as List),
assetFilename: raw['assetFileName'] as String,
assetUrl: Uri.parse(raw['assetUrl']),
category: raw['category'] as String,
Expand Down

0 comments on commit 2d3c685

Please sign in to comment.