nc function

String nc(
  1. String line,
  2. DartType type
)

Implementation

String nc(String line, DartType type) {
  return type.nullabilitySuffix == NullabilitySuffix.none ? "($line)!" : line;
}