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