toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final algorithm = this.algorithm;
  final algorithmControl = this.algorithmControl;
  final targetLkfs = this.targetLkfs;
  return {
    if (algorithm != null) 'algorithm': algorithm.toValue(),
    if (algorithmControl != null)
      'algorithmControl': algorithmControl.toValue(),
    if (targetLkfs != null) 'targetLkfs': targetLkfs,
  };
}