dart string interpolation

108

int apples = 4, bananas = 3;
print('I have $apples apples.');
print('I have ${apples+bananas} fruit.');

Comments

Submit
0 Comments