strToDouble method

double? strToDouble()

Implementation

double? strToDouble() {
  try {
    if (!this.checkIsIWhatDoubleStr()) {
      return null;
    }

    return double.tryParse(this);
  } catch (e) {
    return null;
  }
}