fromRecordType static method
Get the CKFieldType from a CloudKit record type string.
Implementation
static CKFieldType fromRecordType(String recordType)
{
return ALL_TYPES.firstWhere((fieldType) => fieldType.record == recordType);
}
Get the CKFieldType from a CloudKit record type string.
static CKFieldType fromRecordType(String recordType)
{
return ALL_TYPES.firstWhere((fieldType) => fieldType.record == recordType);
}