toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final connectionType = this.connectionType;
  final matchCriteria = this.matchCriteria;
  return {
    if (connectionType != null) 'ConnectionType': connectionType.toValue(),
    if (matchCriteria != null) 'MatchCriteria': matchCriteria,
  };
}