FileRecord class final

Constructors

FileRecord({required String id, String? collection, String? name, String? contentType, required int sizeBytes, String? checksumCrc32c, FileStatus? status, String? owner, required int referenceCount, required Map<String, Object?> metadata, String? createdAt, String? updatedAt, required int version})
const
FileRecord.fromJson(Map<String, Object?> json)
factory

Properties

checksumCrc32c → String?
final
collection → String?
final
contentType → String?
final
createdAt → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
File ID, file_{ulid}.
final
metadata → Map<String, Object?>
The collection’s declared metadata fields by name (config-driven).
final
name → String?
final
owner → String?
final
referenceCount → int
How many record file-reference fields point at this file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → int
Exact byte size declared at upload and verified at finalize.
final
status → FileStatus?
final
updatedAt → String?
final
version → int
File-record version; increments on every write.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited