isMaterialPath static method

bool isMaterialPath(
  1. String path
)

Whether path names a material file.

Implementation

static bool isMaterialPath(String path) =>
    path.toLowerCase().endsWith(ending);