name static method

String name(
  1. String path
)

Implementation

static String name(String path) => sanitize(path).split('/').last;