in my application which i connected to server, that return this output:
"usertags": {
"in": [
{
}
]
},
in that in
is dart keyword and i don't how can i escape that to get data from that and i get this error:
error: Expected a class member.
abstract class BuiltUserTags implements Built<BuiltUserTags, BuiltUserTagsBuilder> {
BuiltList<BuiltIn> get in;
BuiltUserTags._();
factory BuiltUserTags([updates(BuiltUserTagsBuilder b)]) = _$BuiltUserTags;
static Serializer<BuiltUserTags> get serializer => _$builtUserTagsSerializer;
}
problem solved, thanks to library owner
@BuiltValueField(wireName: 'in')
BuiltList<BuiltIn> get ins;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With