FlutterFormatSettings Class

Summary

Settings for flutter format. Format one or more dart files..
Assembly
Cake.Flutter.dll
Namespace
Cake.Flutter
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Flutter/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["FlutterFormatSettings"] class Type type-node

Syntax

public sealed class FlutterFormatSettings : AutoToolSettings

Attributes

Type Description
CompilerGeneratedAttribute

Constructors

Properties

Name Value Summary
DeviceId string
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
DryRun Nullable<bool>
-n, --dry-run Show which files would be modified but make no changes.
Help Nullable<bool>
-h, --help Print this usage information.
Machine Nullable<bool>
-m, --machine Produce machine-readable JSON output.
Packages FilePath
Path to your ".packages" file. (required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
SetExitIfChanged Nullable<bool>
--set-exit-if-changed Return exit code 1 if there are any formatting changes.
SuppressAnalytics Nullable<bool>
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings

Extension Methods

Name Value Summary
Dump<FlutterFormatSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FlutterFormatSettings>(FlutterFormatSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FlutterFormatSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<FlutterFormatSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<FlutterFormatSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<FlutterFormatSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin