toMap method
Implementation
@override
Map<String, dynamic> toMap() {
var json = <String, dynamic>{
'type': 'success',
};
if (_visualFeedbackColor != null) {
json['visualFeedbackColor'] = _visualFeedbackColor.jsonValue;
}
return json;
}