checkDouble property

double get checkDouble

Implementation

double get checkDouble => (this != null)
    ? (this is double)
        ? this
        : (this is int)
            ? this.toDouble()
            : (this is String)
                ? double.parse(this)
                : 0.0
    : 0.0;