You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): add explicit cast in ResponseHelper toJsonT closure
Corrects a type error in the `data/index.dart` route handler where the
`toJsonT` closure passed to `ResponseHelper.success` was returning a
`dynamic` type instead of the required `Map<String, dynamic>`.
This change adds an explicit cast to `Map<String, dynamic>` on the
result of the inner `toJson()` call, satisfying the Dart type checker
and ensuring type safety.
0 commit comments