PropType.string constructor

const PropType.string()

Implementation

const PropType.string()
  : kind = PropKind.string,
    variableOf = null,
    name = 'String',
    values = const [],
    item = null,
    _fields = null,
    _spec = null,
    min = null,
    max = null;