MappingRuleFilter class

A filter defining the entities that a mapping rule should be applied to.

When more than one field is specified, the rule is applied only to entities which match all the fields.

Constructors

MappingRuleFilter({List<String>? entities, String? entityNameContains, String? entityNamePrefix, String? entityNameSuffix, String? parentEntity})
MappingRuleFilter.fromJson(Map json_)

Properties

entities ↔ List<String>?
The rule should be applied to specific entities defined by their fully qualified names.
getter/setter pair
entityNameContains ↔ String?
The rule should be applied to entities whose non-qualified name contains the given string.
getter/setter pair
entityNamePrefix ↔ String?
The rule should be applied to entities whose non-qualified name starts with the given prefix.
getter/setter pair
entityNameSuffix ↔ String?
The rule should be applied to entities whose non-qualified name ends with the given suffix.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
parentEntity ↔ String?
The rule should be applied to entities whose parent entity (fully qualified name) matches the given value.
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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