mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
1340970bab
For consistency with the rest of dart:ui, check required parameters with assert(param != null) rather than throwing ArgumentError. ArgumentError is typically reserved for checking the validity of non-null args -- e.g. that a list has the required number of elements.