dartDefine property

String dartDefine

See issue: https://github.com/flutter/flutter/issues/55870 .fromEnvironment() work only with const keyword.

Implementation

// String? get fromEnvironment =>
//     String.fromEnvironment(key, defaultValue: defaultValue ?? '');

String get dartDefine => '--dart-define=$key=$value';