buildMode top-level property

BuildMode buildMode
read / write

Implementation

BuildMode buildMode = () {
  if (kReleaseMode) {
    return BuildMode.release;
  }
  if (kProfileMode) {
    return BuildMode.profile;
  }
  if (kDebugMode) {
    return BuildMode.debug;
  }
  assert(false, 'Cannot determined Build Mode');
  return null;
}()