-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type 'List<dynamic>' is not a subtype of type 'String' #1
Comments
Where do you see this error? I don't get this. |
import 'dart:convert'; class CountryList { CountryList({ factory CountryList.fromJson(List parsedJson) {
} class CountryResponse { CountryResponse({ factory CountryResponse.fromJson(Map<String, dynamic> json) => CountryResponse( Map<String, dynamic> toJson() => { `Future<List> getCountry() async { |
Hope this code snippet helped you. |
json response [ |
Report this error:
The text was updated successfully, but these errors were encountered: