$StringValues.fromJson constructor

$StringValues.fromJson(
  1. Map json_
)

Implementation

$StringValues.fromJson(core.Map json_)
    : this(
        allowedValues: json_.containsKey('allowedValues')
            ? (json_['allowedValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        deniedValues: json_.containsKey('deniedValues')
            ? (json_['deniedValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );