📜  dart 字符串等于 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:07.138000             🧑  作者: Mango

代码示例1
QUESTION: Dart String comparator (java equals method)

SOLUTION:
String rubi = 'good';
String ore = 'good';

 rubi == ore => true
         or
rubi.compareTo(ore) == 0;