@override Map<String, dynamic> toMap() { var json = <String, dynamic>{'searchOptions': searchOptions.toMap()}; if (content != null) { json['content'] = content?.toMap(); } return json; }