Lesson 49: Debugging & Logging


void main() {
  int x = 10;
  debugPrint('Value of x: $x');
  assert(x > 0, 'x must be positive');
}
    
Previous Next Lesson