toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseUrl != null) 'baseUrl': baseUrl!,
      if (reportingEnabled != null) 'reportingEnabled': reportingEnabled!,
      if (servicePath != null) 'servicePath': servicePath!,
      if (shuffleServicePath != null)
        'shuffleServicePath': shuffleServicePath!,
      if (tempStoragePrefix != null) 'tempStoragePrefix': tempStoragePrefix!,
      if (workerId != null) 'workerId': workerId!,
    };