serialize method
Serializes common fields to JSON.
Methods that override serialize are expected to call super.serialize
and add more fields to the returned Map.
Implementation
@mustCallSuper
Map<String, String> serialize() => <String, String>{
'finderType': finderType,
};