转为double类型
double? toDouble({double defValue = 0}) { if (this == null) { return null; } return double.tryParse(this!) ?? defValue; }