YoutubeError constructor

const YoutubeError(
  1. int code
)

Returns the YoutubeError from the given code.

Implementation

const YoutubeError(this.code);