PropType.json constructor

const PropType.json([
  1. String name = 'Object'
])

Implementation

const PropType.json([this.name = 'Object'])
  : kind = PropKind.json,
    values = const [],
    item = null,
    _fields = null,
    _spec = null,
    min = null,
    max = null;