isActive property
bool
get
isActive
True when the process was launched by the hmr supervisor (the supervisor
sets HMR_PARENT_PID in the child's environment).
Implementation
bool get isActive => Platform.environment['HMR_PARENT_PID'] != null;