See the constructor article to understand how Dart assigns values to fields: ... Unlike Java, Dart does not provide private, protected and public keywords.
確定! 回上一頁