price property
String
get
price
getter for the price as string with no dollar sign included ex: returns => '12.99'
Implementation
String get price => (totalPriceCents.toDouble() / 100.00).toStringAsFixed(2);