error: The argument type 'String' can't be assigned to the parameter type 'Uri'. (argument_type_not_assignable code example
Example: The argument type 'String' can't be assigned to the parameter type 'Uri'.
Replace http.get(someString) With http.get(Uri.parse(someString))