dart / 1 / dart-html / debug_or_assert.html

function

  1. @Deprecated("Internal Use Only")
dynamic debug_or_assert(message, expression)

Source

@Deprecated("Internal Use Only")
debug_or_assert(message, expression) {
  if (!expression) {
    throw new DebugAssertException("$message");
  }
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/debug_or_assert.html