DartPackage.withContent constructor

DartPackage.withContent(
  1. String content
)

Dart package from a yaml content.

Implementation

factory DartPackage.withContent(String content) {
  return _DartPackageImpl(YamlLinesContent.withText(content));
}