toYouTubeId method

String toYouTubeId({
  1. bool trimWhitespaces = true,
})

Get YouTube Video ID

Implementation

String toYouTubeId({bool trimWhitespaces = true}) =>
    convertYouTubeUrlToId(trimWhitespaces: trimWhitespaces);