toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowPlaybackInterruption != null)
        'allowPlaybackInterruption': allowPlaybackInterruption!,
      if (audio != null) 'audio': audio!,
      if (uri != null) 'uri': uri!,
    };