toJson method

Map<String, dynamic> toJson()

Implementation

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