EnumPropertyOptions.fromJson constructor

EnumPropertyOptions.fromJson(
  1. Map json_
)

Implementation

EnumPropertyOptions.fromJson(core.Map json_)
    : this(
        operatorOptions: json_.containsKey('operatorOptions')
            ? EnumOperatorOptions.fromJson(json_['operatorOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        orderedRanking: json_.containsKey('orderedRanking')
            ? json_['orderedRanking'] as core.String
            : null,
        possibleValues: json_.containsKey('possibleValues')
            ? (json_['possibleValues'] as core.List)
                .map((value) => EnumValuePair.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );