toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    '_type': type,
    'missing': missing,
    'total': total,
    'other': other,
    'terms': terms?.map((x) => x.toMap()).toList(),
  };
}