receivedFileName property

  1. @override
String get receivedFileName
override

A getter named receivedFileName that returns the string 'file_name.received.txt'.

Implementation

@override
String get receivedFileName {
  if (options != null) {
    return options!.receivedFileName;
  }
  if (description != null) {
    return addTestName
        ? '$_fileName.$currentTestName.$_updatedDescription.$receivedExtension'
        : '$_fileName.$_updatedDescription.$receivedExtension';
  }
  return addTestName
      ? '$_fileName.$currentTestName.$receivedExtension'
      : '$_fileName.$receivedExtension';
}