tryCastToNum method

num? tryCastToNum()

Implementation

num? tryCastToNum() {
  if (this == null) {
    return null;
  }
  return this!.value.tryCastToNum();
}