mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
27 lines
725 B
Dart
27 lines
725 B
Dart
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
const String kIncrement = 'increment';
|
|
const String kCommit = 'commit';
|
|
const String kRemoteName = 'remote';
|
|
const String kJustPrint = 'just-print';
|
|
const String kYes = 'yes';
|
|
const String kForce = 'force';
|
|
const String kSkipTagging = 'skip-tagging';
|
|
|
|
const String kUpstreamRemote = 'https://github.com/flutter/flutter.git';
|
|
|
|
const List<String> kReleaseChannels = <String>[
|
|
'stable',
|
|
'beta',
|
|
'dev',
|
|
'master',
|
|
];
|
|
|
|
/// Cast a dynamic to String and trim.
|
|
String stdoutToString(dynamic input) {
|
|
final String str = input as String;
|
|
return str.trim();
|
|
}
|