StringRestrictions.fromJson constructor

StringRestrictions.fromJson(
  1. Map json_
)

Implementation

StringRestrictions.fromJson(core.Map json_)
  : this(
      allowedValues: (json_['allowedValues'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      caseAgnostic: json_['caseAgnostic'] as core.bool?,
    );