Typings.npm constructor

const Typings.npm({
  1. required String package,
  2. required String version,
  3. String? dirName,
  4. List<String> files,
  5. ({bool import, bool typings}) packageJson,
  6. String? contextCheck,
  7. List<String> uses,
  8. List<String> distFiles,
})

Implementation

const factory Typings.npm(
    {required String package,
    required String version,
    String? dirName,
    List<String> files,
    ({bool typings, bool import}) packageJson,
    String? contextCheck,
    List<String> uses,
    List<String> distFiles}) = _TypingsNPM.new;