requiredKeys constant

Set<String> const requiredKeys

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

Implementation

static const requiredKeys = <String>{
  'id',
  'to',
  'createdAt',
  'read',
};