79543158

Date: 2025-03-29 11:25:44
Score: 2
Natty:
Report link

This is because in the if statement, you check if res is "SuccessResult", which is same as checking if res is SuccessResult<dynamic, dynamic>. So you need to add the generics as you did with the switch statement

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nnamani Daniel