toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

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