toJson method

  1. @override
Object toJson()
override

Implementation

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