withoutNullabilityInfo property

ResolvedType withoutNullabilityInfo

Implementation

ResolvedType get withoutNullabilityInfo {
  return nullable == null
      ? this
      : ResolvedType(
          type: type, hints: hints, isArray: isArray, nullable: null);
}