init static method

void init(
  1. String imagePath
)

Implementation

static void init(String imagePath){
  imageRoot = imagePath.endsWith("/") ? imagePath : "$imagePath/";
}