requiredKeys constant

Set<String> const requiredKeys

The list of required keys that must be present in a JSON.

Implementation

static const requiredKeys = <String>{
  'optedOut',
  'type',
  'createdAt',
  'sent',
  'viewed',
  'relatedObjectId',
  'relatedObjectType',
  'url',
  'urlId',
  '_id',
};