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