public static void FlutterChannel(this ICakeContext context, FlutterChannelSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterChannelSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run("channel", settings ?? new FlutterChannelSettings()); }
public static IEnumerable <string> FlutterChannelWithResult(this ICakeContext context, FlutterChannelSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterChannelSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(runner.RunWithResult("channel", settings ?? new FlutterChannelSettings())); }