CustomClassRules class

CustomClassRules represent custom rules of mandatory fields for each class of a document. Setting the fields in the CustomClassRules will make them mandatory. If CustomClassRules is not set, all of the default fields are mandatory.

Annotations
  • @JsonSerializable.new()

Constructors

CustomClassRules()
CustomClassRules.fromJson(Map<String, dynamic> json)
factory

Properties

country ↔ Country?
Documents from the set country will be used with CustomClassRules
getter/setter pair
detailedFieldTypes ↔ List<DetailedFieldType>
An array of the document fields and alphabets that will be used with CustomClassRules. See DetailedFieldType for more information.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
region ↔ Region?
Documents from the set region will be used with CustomClassRules
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ Type?
Document type that will be used with CustomClassRules
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited