toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final leftOperand = this.leftOperand;
  final onClause = this.onClause;
  final rightOperand = this.rightOperand;
  final type = this.type;
  final leftJoinKeyProperties = this.leftJoinKeyProperties;
  final rightJoinKeyProperties = this.rightJoinKeyProperties;
  return {
    'LeftOperand': leftOperand,
    'OnClause': onClause,
    'RightOperand': rightOperand,
    'Type': type.toValue(),
    if (leftJoinKeyProperties != null)
      'LeftJoinKeyProperties': leftJoinKeyProperties,
    if (rightJoinKeyProperties != null)
      'RightJoinKeyProperties': rightJoinKeyProperties,
  };
}