dd method

void dd({
  1. String? tag,
})

dump the value to the console and exit the app. tag is optional.

Implementation

void dd({String? tag}) {
  NyLogger.dump(toString(), tag);
  exit(0);
}