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
Concrete example: List<int?>(1); is safe, but List<int>(1) will most likely need to throw at runtime because [null] is not a List<int> with NNBD. List<int>.filled(1, 0); would be safe.
Activity
leafpetersen commentedon Mar 18, 2019
Yes. The length setter is another known case.