Skip to content

no quick fix anymore to mass them as named parameters? #62281

@stephane-archer

Description

@stephane-archer
Future<T> _runWithPermissionRetry<T>(
    FileSystemEntity entity, FutureOr<T> Function() operation) async { // no quick fix anymore to mass them as named parameters?
  try {
    return await operation();
  } on PathAccessException {
    await askUserPermission(entity);
    return await operation();
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions