withoutNullability static method

String withoutNullability(
  1. DartType type
)

Print the DartType without nullability

Implementation

static String withoutNullability(DartType type) =>
    type.getDisplayString(withNullability: true).replaceAll('?', '');