toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (matchType != null) {
    json[r'MatchType'] = matchType;
  }
  if (targetEntityId != null) {
    json[r'TargetEntityId'] = targetEntityId;
  }
  if (targetEntity != null) {
    json[r'TargetEntity'] = targetEntity;
  }
  if (percentConfidence != null) {
    json[r'PercentConfidence'] = percentConfidence;
  }
  return json;
}