Skip to content

Conversation

@abhaysaqi
Copy link

TITLE FIELD:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
fix: Add missing type annotation to _canPop method

DESCRIPTION FIELD:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Description

Fixed Dart analyzer warning by adding missing type annotation to _canPop()
method and removing redundant default case.

Changes

  • Added bool return type to _canPop() method
  • Removed redundant default case in switch statement (enum exhaustiveness)

File: lib/get_navigation/src/routes/get_router_delegate.dart

Testing

  • Ran dart analyze — No issues
  • All PopMode enum cases covered

Type of Change

  • Bug fix

…Added 'bool' return type to _canPop() method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant