toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'backendName': backendName,
  'deviceName': deviceName,
  'outputFormat': outputFormat.name,
  'bitDepth': bitDepth,
  'isFloat': isFloat,
  'sampleRate': sampleRate,
  'channels': channels,
  'periodSizeFrames': periodSizeFrames,
  'periodCount': periodCount,
  'latencyMs': latencyMs,
  'isExclusiveMode': isExclusiveMode,
};