getVideoOption method

Map<String, dynamic> getVideoOption(
  1. String videoIds,
  2. int length
)

Implementation

Map<String, dynamic> getVideoOption(String videoIds, int length) {
  Map<String, dynamic> options = {
    "part": "contentDetails",
    "id": videoIds,
    "maxResults": "$length",
    "key": "${this.key}",
  };
  return options;
}