Throws an error
The argument type 'dynamic' can't be assigned to the parameter type 'String'.
in line
Uri? resultFactory(dynamic decodedJson) => decodedJson == null ? null : Uri.parse(decodedJson);
Expected behavior:
resultFactory should use .toString() on decodedJson when parsing
Generated class:
Throws an error
The argument type 'dynamic' can't be assigned to the parameter type 'String'.
in lineUri? resultFactory(dynamic decodedJson) => decodedJson == null ? null : Uri.parse(decodedJson);
Expected behavior:
resultFactory
should use.toString()
ondecodedJson
when parsing