asNonNullable method

TypeIdentifier asNonNullable()

returns a copy of this type identifier without the nullable flag

Implementation

TypeIdentifier asNonNullable() => TypeIdentifier(
      typeName: nonNullableTypeName,
      packageName: packageName,
      packageRelativeLibraryPath: packageRelativeLibraryPath,
    );