ParseFile constructor

ParseFile(
  1. File? file, {
  2. String? name,
  3. String? url,
  4. bool? debug,
  5. ParseClient? client,
  6. bool? autoSendSessionId,
})

Creates a new file

{https://docs.parseplatform.org/rest/guide/#files/}

Implementation

ParseFile(this.file,
    {String? name,
    super.url,
    super.debug,
    super.client,
    super.autoSendSessionId})
    : super(
        name: file != null ? path.basename(file.path) : name!,
      );