withoutExtension function

String withoutExtension(
  1. String path
)

Removes a trailing extension from the last part of path.

p.withoutExtension('path/to/foo.dart'); // -> 'path/to/foo'

Implementation

String withoutExtension(String path) => context.withoutExtension(path);