toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    ...super.toMap(),
    if (fields != null) 'fields': fields,
    if (highlight != null) 'highlight': highlight,
  };
}