toJson method
Implementation
@override
Object toJson() => {
if (searchKey != null) 'searchKey': searchKey,
if (contentSearchKey != null)
'contentSearchKey': contentSearchKey!.toJson(),
if (functionNames != null) 'functionNames': functionNames!.toJson(),
};