toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "bucketId": bucketId,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "\$permissions": $permissions,
    "name": name,
    "signature": signature,
    "mimeType": mimeType,
    "sizeOriginal": sizeOriginal,
    "chunksTotal": chunksTotal,
    "chunksUploaded": chunksUploaded,
  };
}