Remova o espaço do dardo de corda
String name = "COCA COLA";
print(name.replaceAll(' ', ''))
Expensive Eagle
String name = "COCA COLA";
print(name.replaceAll(' ', ''))