AOSSIE-Org / AOSSIE-Org/NeuroTrack

fix(therapist): Method marked @override does not override any inherited method

Ouverte
#198 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
29
Forks
50
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Summary

In the therapist app, `flutter analyze` reports:

```
warning - The method doesn't override an inherited method
lib/repository/supabase_therapist_repository.dart:114 - override_on_non_overriding_member
```

A method at line 114 of `supabase_therapist_repository.dart` is annotated with `@override` but the parent class/interface has no such method to override. This is a logic error — either the annotation is spurious, or the method signature doesn't match the interface definition and a bug is silently hiding.

## Steps to Reproduce

```
cd therapist
flutter analyze
```

## Expected Behavior

Every `@override` annotation correctly points to a method that exists in the parent type.

## Fix

- If the `@override` is unintentional: remove the annotation.
- If the method is meant to implement an interface method: fix the method name/signature to match the interface.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.