Unverified Commit 2a010d96 authored by Swift Kim's avatar Swift Kim Committed by GitHub

[flutter_tools] Make variants of Pub have consistent method signatures (#98119)

parent 76855aa8
......@@ -96,7 +96,7 @@ abstract class Pub {
/// Defaults to true.
Future<void> get({
required PubContext context,
String directory,
String? directory,
bool skipIfAbsent = false,
bool upgrade = false,
bool offline = false,
......@@ -122,11 +122,11 @@ abstract class Pub {
Future<void> batch(
List<String> arguments, {
required PubContext context,
String directory,
MessageFilter filter,
String? directory,
MessageFilter? filter,
String failureMessage = 'pub failed',
required bool retry,
bool showTraceForErrors,
bool? showTraceForErrors,
});
/// Runs pub in 'interactive' mode.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment