toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deleteBehavior = this.deleteBehavior;
  final updateBehavior = this.updateBehavior;
  return {
    if (deleteBehavior != null) 'DeleteBehavior': deleteBehavior.toValue(),
    if (updateBehavior != null) 'UpdateBehavior': updateBehavior.toValue(),
  };
}