toJson method

Map<String, dynamic> toJson()

Implementation

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