isNullableType method

bool isNullableType(
  1. DartType type
)

Implementation

bool isNullableType(DartType type) =>
    type.getDisplayString(withNullability: true).endsWith("?");