Answers for "error: the argument type 'string' can't be assigned to the parameter type 'value<string?>'."

1

The argument type 'String' can't be assigned to the parameter type 'Uri'

#old code               #Replace with

http.get(someString)    http.get(Uri.parse(someString))

http.post(someString)   http.post(Uri.parse(someString))
Posted by: Guest on October-14-2021

Code answers related to "error: the argument type 'string' can't be assigned to the parameter type 'value<string?>'."

Code answers related to "Dart"

Browse Popular Code Answers by Language