toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    Param.confidence: confidence == null ? null : confidence,
    Param.type: type == null ? null : type,
  };
}