Open damphat opened 4 years ago
assert(() { print('this function is only executed with --enable-asserts') }())
flutter run will enable-asserts by default?
flutter run
var a = <int> [1,2,3]; var b = [1,2,3]; Set<int> c = [1,2,3]; Set<double> c = [1,2,3]; Set<double> c = <int>[1,2,3];
https://github.com/dart-lang/sdk/issues/34378
assert
flutter run
will enable-asserts by default?type inferencing
@nonVirtual
https://github.com/dart-lang/sdk/issues/34378