Skip to content

Commit

Permalink
Update usage for dart 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dannnnthemannnn committed Mar 15, 2024
1 parent c9284dd commit c65f294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pattern.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ String escapeRegex(String str) => str.splitMapJoin(_specialChars,
Pattern matchAny(Iterable<Pattern> include, {Iterable<Pattern>? exclude}) =>
_MultiPattern(include, exclude: exclude);

class _MultiPattern extends Pattern {
class _MultiPattern implements Pattern {
_MultiPattern(this.include, {this.exclude});

final Iterable<Pattern> include;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/iterables/enumerate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class EnumerateIterable<V> extends IterableBase<IndexedValue<V>> {
}

/// The [Iterator] returned by [EnumerateIterable.iterator].
class EnumerateIterator<V> extends Iterator<IndexedValue<V>> {
class EnumerateIterator<V> implements Iterator<IndexedValue<V>> {
EnumerateIterator(this._iterator);

final Iterator<V> _iterator;
Expand Down

0 comments on commit c65f294

Please sign in to comment.