CloudinaryUploadResource constructor

CloudinaryUploadResource({
  1. String? filePath,
  2. List<int>? fileBytes,
  3. String? fileName,
  4. String? folder,
  5. CloudinaryResourceType? resourceType,
  6. Map<String, dynamic>? optParams,
})

Implementation

CloudinaryUploadResource(
    {this.filePath,
    this.fileBytes,
    this.fileName,
    this.folder,
    this.resourceType,
    this.optParams})
    : assert(filePath != null || fileBytes != null,
          "One of filePath or fileBytes must not be null");