Skip to content

Instantly share code, notes, and snippets.

@digitaljoni
Last active February 22, 2020 04:19
Show Gist options
  • Select an option

  • Save digitaljoni/3e8b5791e6bfb2b453f4df25a3cacbaf to your computer and use it in GitHub Desktop.

Select an option

Save digitaljoni/3e8b5791e6bfb2b453f4df25a3cacbaf to your computer and use it in GitHub Desktop.
toString()
void main() {
final int itemQuantity = 123;
final double itemPrice = 3499.55;
final bool isDiscounted = true;
final List<String> countries = ['US', 'UK', 'MX', 'TH', 'PH', 'HK'];
print(itemQuantity.toString());
print(itemPrice.toString());
print(isDiscounted.toString());
print(countries.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment