channel constant

String? const channel

The Flutter channel used to compile the app.

Implementation

static const String? channel = bool.hasEnvironment('FLUTTER_CHANNEL')
    ? String.fromEnvironment('FLUTTER_CHANNEL')
    : null;