image method

PixelBinImage image({
  1. required String imagePath,
  2. required String cloud,
  3. String? zone,
  4. bool worker = false,
  5. List<TransformationData> transformations = const [],
  6. String host = "cdn.pixelbin.io",
  7. String version = "v2",
})

Implementation

PixelBinImage image({
  required String imagePath,
  required String cloud,
  String? zone,
  bool worker = false,
  List<TransformationData> transformations = const [],
  String host = "cdn.pixelbin.io",
  String version = "v2",
}) {
  return PixelBinImage(
    imagePath: imagePath,
    cloudName: cloud,
    zone: zone,
    worker: worker,
    transformations: transformations,
    host: host,
    version: version,
  );
}