create static method

YoutubeSchemaText create({
  1. String? special_type,
  2. String? type,
  3. String? data,
})
override

return original data json

Implementation

static YoutubeSchemaText create({
  String? special_type,
  String? type,
  String? data,
}) {
  YoutubeSchemaText youtubeSchemaText = YoutubeSchemaText({
    "@type": special_type,
    "type": type,
    "data": data,
  });

  return youtubeSchemaText;
}