CloudKitRecord class final
A CloudKit record as it crosses the bridge.
Constructors
-
CloudKitRecord({required CloudKitRecordId id, required String recordType, Map<
String, Object?> fields = const {}, Map<String, File?> assets = const {}, Uint8List? systemFields}) -
Creates a CloudKitRecord.
const
Properties
-
assets
→ Map<
String, File?> -
Files carried as CloudKit assets, keyed by field name.
final
-
fields
→ Map<
String, Object?> -
Field values:
String,int,double,Uint8List, or aListof those. When saving, a null value removes the field from the server copy. A received record never holds null values.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → CloudKitRecordId
-
Record identity.
final
- recordType → String
-
CloudKit record type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemFields → Uint8List?
-
CloudKit's archived system fields from the last server copy, or null for
a record the server has never stored. Pass them back unchanged when
saving, so the server can reject a save based on an older copy.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited