toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final outputSdt = this.outputSdt;
  final repInterval = this.repInterval;
  final serviceName = this.serviceName;
  final serviceProviderName = this.serviceProviderName;
  return {
    if (outputSdt != null) 'outputSdt': outputSdt.toValue(),
    if (repInterval != null) 'repInterval': repInterval,
    if (serviceName != null) 'serviceName': serviceName,
    if (serviceProviderName != null)
      'serviceProviderName': serviceProviderName,
  };
}