Describe the bug
You cant use value as a keyword argument in a endpoint. This is because the generated function declares one internally
The final variable 'value' can't be read because it's potentially unassigned at this point.
Ensure that it is assigned on necessary execution paths.dart[read_potentially_unassigned_final](https://dart.dev/diagnostics/read_potentially_unassigned_final)
Local variable 'value' can't be referenced before it is declared.
Try moving the declaration to before the first use, or renaming the local variable so that it doesn't hide a name from an enclosing scope.dart[referenced_before_declaration](https://dart.dev/diagnostics/referenced_before_declaration)
Describe the bug You cant use
value
as a keyword argument in a endpoint. This is because the generated function declares one internallyTo Reproduce Run generator on this:
Creates this: