tryCastToBool method

bool? tryCastToBool()

Implementation

bool? tryCastToBool() {
  if (this == null) {
    return null;
  }
  return this!.value.tryCastToBool();
}