makeNamer static method

ApprovalNamer makeNamer(
  1. String filePath, {
  2. String? description,
  3. FileNamerOptions? options,
  4. bool? addTestName,
})

Implementation

static ApprovalNamer makeNamer(
  String filePath, {
  String? description,
  FileNamerOptions? options,
  bool? addTestName,
}) =>
    Namer(
      filePath: filePath,
      description: description,
      options: options,
      addTestName: addTestName ?? true,
    );