PartFile constructor
Implementation
PartFile({
required this.path,
required super.content,
}) : assert(path.isNotEmpty, 'Path cannot be empty.'),
assert(!path.last.endsWith('.dart'), 'Path must not end with .dart.'),
super(
basename: p.joinAll(path),
);