toMap method

Map toMap()

Implementation

Map toMap() => {'target': target, 'candidate': candidate.toMap()};