NmFieldMapping class
One field mapping (source field → canonical target, aliases, position).
- Annotations
Constructors
-
NmFieldMapping({required String source, required String target, List<
String> aliases = const [], int? position}) -
Creates an NmFieldMapping.
const
Properties
-
aliases
→ List<
String> -
Other source names that map to the same target.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- position → int?
-
Column position in a positional source, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Field name in the source.
final
- target → String
-
Canonical target column.
final
Methods
-
copyWith(
{String? target, List< String> ? aliases, int? position, bool clearPosition = false}) → NmFieldMapping -
A copy with the given fields replaced;
clearPositionremoves the position. -
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