asNullable method
returns a copy of this type identifier with the nullable flag
Implementation
TypeIdentifier asNullable() => TypeIdentifier(
typeName: nullableTypeName,
packageName: packageName,
packageRelativeLibraryPath: packageRelativeLibraryPath,
);