You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nullable lists are not being mapped properly.
My Model contains: List<String>? values;
Generated mapper contains: values: entity.values.map((e) => e).toList()
which results in error "The method 'map' can't be unconditionally invoked because the receiver can be 'null'"
Shouldn't it be values: entity.values!.map((e) => e).toList()
Nullable lists are not being mapped properly.
My Model contains:
List<String>? values;
Generated mapper contains:
values: entity.values.map((e) => e).toList()
which results in error
"The method 'map' can't be unconditionally invoked because the receiver can be 'null'"
Shouldn't it be
values: entity.values!.map((e) => e).toList()
Originally posted by @gopalsabhadiya in #12 (comment)
The text was updated successfully, but these errors were encountered: