mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
14 lines
261 B
JavaScript
14 lines
261 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
|
|
class MetadataRow {
|
|
type = 'MetadataRow';
|
|
|
|
constructor(data) {
|
|
this.title = new Text(data.title);
|
|
this.contents = data.contents.map((content) => new Text(content));
|
|
}
|
|
}
|
|
|
|
module.exports = MetadataRow; |