Closed Clearlove2015 closed 1 week ago
Can you provide a sample project? I need to know which dependencies are used.
Can you provide a sample project? I need to know which dependencies are used.
The project is too large to upload, I have compiled the main code of the problem
The generated beans determined by dart_mappable, for related issues see https://github.com/schultek/dart_mappable/issues/82.
Other alternatives is use toMap()
logTAG("===>login2 Json: ${json.encode(login2.toMap())}");
The generated beans determined by dart_mappable, for related issues see schultek/dart_mappable#82.
Other alternatives is use
toMap()
logTAG("===>login2 Json: ${json.encode(login2.toMap())}");
I have read this issue before and think that toMap is not very good, such as the List\<Item> scene
{ "code": 0, "desc": "success", "data": { "uuid": "7acf6364-ea13-49ee-9c8a-63a231de2608", "username": "jklove", } }
var str = login.toJson(); var bean = LoginMappableMixinBean.fromJson(str); logTAG("===>out: ${json.encode(bean)}");
out content: "{\"code\":0,\"desc\":\"dd\",\"data\":{\"uuid\":\"7acf6364-ea13-49ee-9c8a-63a231de2608\",\"username\":\"jklove\"}}"