parseHeight property

double parseHeight

Implementation

double get parseHeight {
  final operator = this.substring(1, 2);
  final value = operator == "/"
      ? 1 / double.parse(this.substring(2))
      : double.parse(this.substring(2));
  return value;
}