StringProperty constructor

StringProperty(String name, String value, { String description, String tooltip, bool showName: true, Object defaultValue: kNoDefaultValue, bool quoted: true, String ifEmpty, DiagnosticLevel level: DiagnosticLevel.info })

Create a diagnostics property for strings.

The showName, quoted, and level arguments must not be null.

Implementation

StringProperty(String name, String value, {
  String description,
  String tooltip,
  bool showName = true,
  Object defaultValue = kNoDefaultValue,
  this.quoted = true,
  String ifEmpty,
  DiagnosticLevel level = DiagnosticLevel.info,
}) : assert(showName != null),
     assert(quoted != null),
     assert(level != null),
     super(
  name,
  value,
  description: description,
  defaultValue: defaultValue,
  tooltip: tooltip,
  showName: showName,
  ifEmpty: ifEmpty,
  level: level,
);