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.