getDouble property

double? get getDouble

转换为一个可能为空的double类型

Implementation

double? get getDouble {
  if (rawValue is bool) return rawValue ? 1 : 0;
  return num.tryParse(stringValue)?.toDouble();
}