in lib/src/context.dart [28:45]
factory Context({Style? style, String? current}) {
if (current == null) {
if (style == null) {
current = p.current;
} else {
current = '.';
}
}
if (style == null) {
style = Style.platform;
} else if (style is! InternalStyle) {
throw ArgumentError('Only styles defined by the path package are '
'allowed.');
}
return Context._(style as InternalStyle, current);
}