Yt.withKey constructor Null safety

Yt.withKey(
  1. String apiKey
)

Implementation

factory Yt.withKey(String apiKey) {
  final yt = Yt();

  yt._apiKey = apiKey;

  yt._useToken = false;

  return yt;
}