dart String

  String s;
  int str;
  //无论是字符串还是其他,如果是null这转为“”
  print(str ?? "");
原文地址:https://www.cnblogs.com/buchizaodian/p/10600989.html