DocumentationRule constructor

DocumentationRule({
  1. String? selector,
  2. String? description,
  3. String? deprecationDescription,
})

Implementation

factory DocumentationRule({
  $core.String? selector,
  $core.String? description,
  $core.String? deprecationDescription,
}) {
  final _result = create();
  if (selector != null) {
    _result.selector = selector;
  }
  if (description != null) {
    _result.description = description;
  }
  if (deprecationDescription != null) {
    _result.deprecationDescription = deprecationDescription;
  }
  return _result;
}