toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

@override
Map<String, dynamic> toMap() {
  var json = <String, dynamic>{'searchOptions': searchOptions.toMap()};

  if (content != null) {
    json['content'] = content?.toMap();
  }

  return json;
}