SyncValidator class

Ensures a config and its models can participate in bi-directional sync.

Constructors

SyncValidator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

validateConfig<T extends dynamic>(SyncCollectionConfig<T> cfg) → void
Validate the configuration for required mappers or RealmJson fallback inputs.
validateSampleModels<T extends dynamic>(SyncCollectionConfig<T> cfg) → void
Validate that at least one model in the results contains listed properties. Uses dynamic access via RealmObjectBase.get and tolerates optional/nullable fields.