approvedFileName property

  1. @override
String get approvedFileName
override

Returns the generated approved file name with an index.

Uses the custom file name from options if provided; otherwise, generates a default file name with the BaseNamer.approvedExtension and appends an auto-incremented counter.

Implementation

@override
String get approvedFileName =>
    options?.approvedFileName ??
    _buildFileName(BaseNamer.approvedExtension, counter: '$counter');