CKFieldType class
Represents the field type for the local field and the CloudKit record field.
Constructors
- CKFieldType(String local, String record, {Type? type})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → String
-
The local type as a string.
final
- record → String
-
The CloudKit record type as a string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Type?
-
The local type as a Type object.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromLocalType(
Type T) → CKFieldType - Get the CKFieldType from a Type object.
-
fromRecordType(
String recordType) → CKFieldType - Get the CKFieldType from a CloudKit record type string.
Constants
-
ALL_TYPES
→ const List<
CKFieldType> - ASSET_TYPE → const CKFieldType
- DATETIME_TYPE → const CKFieldType
- DOUBLE_TYPE → const CKFieldType
- INT_TYPE → const CKFieldType
- LIST_INT_TYPE → const CKFieldType
- LIST_REFERENCE_TYPE → const CKFieldType
- LIST_STRING_TYPE → const CKFieldType
- REFERENCE_TYPE → const CKFieldType
- STRING_TYPE → const CKFieldType