Without null safety: bool isEmpty(String string) => string.length == 0; ... The null value is an instance of the Null class, and Null has no “length” getter ...
確定! 回上一頁