checkDebug method
void
checkDebug()
Implementation
void checkDebug() {
// Set to debug if profile == debug
if (profile == DefaultProfiles.debug) {
isDebug = true;
}
// Set to debug if dart is in debug mode
assert((){
isDebug = true;
return true;
}());
}