topLevelFields constant

List<String> const topLevelFields

Known top level fields. Useful for Serializer methods.

Implementation

static const topLevelFields = [
  'type',
  'title_link',
  'title',
  'thumb_url',
  'text',
  'pretext',
  'og_scrape_url',
  'image_url',
  'footer_icon',
  'footer',
  'fields',
  'fallback',
  'color',
  'author_name',
  'author_link',
  'author_icon',
  'asset_url',
  'actions',
  'original_width',
  'original_height',
];