toJson method

Map<String, Object?> toJson()

Returns a representation of this object as a JSON object.

Implementation

Map<String, Object?> toJson() => {
      "audio": audio,
      "video": video,
    };