isMapperFor<X extends Object, Y extends Object> method

bool isMapperFor<X extends Object, Y extends Object>(
  1. String? name
)
inherited

Checks if this mapper can handle a specific mapping

name - Optional name to check Returns true if this mapper can handle the specified types and name

Implementation

bool isMapperFor<X extends Object, Y extends Object>(String? name) {
  return X == FROM && Y == TO && name == this.name;
}