toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['eventType'] = eventType;
  if (filtersJson != null) {
    _json['filtersJson'] = filtersJson;
  }
  if (isActive != null) {
    _json['isActive'] = isActive;
  }
  return _json;
}