videoById method

dynamic videoById(
  1. String videoId
)

Implementation

videoById(String videoId) {
  var replayObject = {
    "type": "video",
    "video": {"id": videoId}
  };
  return replayObject;
}