toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('enable')) {
final l$enable = enable;
result$data['enable'] = l$enable;
}
if (_$data.containsKey('action')) {
final l$action = action;
result$data['action'] = l$action;
}
return result$data;
}