We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dataSource: { "code": 200, "data": { "title": "home", "select": true, ... } }
abstract class LoginResponse implements Built<LoginResponse, LoginResponseBuilder> {
int? get code;
Map<String, dynamic>? data; }
I don't need to care about the contents of the data, I just need to use Map to receive the data. What should I do
The text was updated successfully, but these errors were encountered:
That's what the JsonObject class is for.
You could make data a JsonObject, or possibly a Map<String, JsonObject>, I don't remember if that works.
data
JsonObject
Map<String, JsonObject>
Sorry, something went wrong.
davidmorgan
No branches or pull requests
dataSource:
{
"code": 200,
"data": {
"title": "home",
"select": true,
...
}
}
abstract class LoginResponse
implements Built<LoginResponse, LoginResponseBuilder> {
int? get code;
Map<String, dynamic>? data;
}
I don't need to care about the contents of the data, I just need to use Map to receive the data. What should I do
The text was updated successfully, but these errors were encountered: