read static method

PubspecHelper read(
  1. File file
)

Read a pubspec.yaml file.

Implementation

static PubspecHelper read(File file) {
  return PubspecHelper._(file.readAsStringSync());
}