ParameterValidation.fromJson constructor

ParameterValidation.fromJson(
  1. Map json_
)

Implementation

ParameterValidation.fromJson(core.Map json_)
    : this(
        regex: json_.containsKey('regex')
            ? RegexValidation.fromJson(
                json_['regex'] as core.Map<core.String, core.dynamic>)
            : null,
        values: json_.containsKey('values')
            ? ValueValidation.fromJson(
                json_['values'] as core.Map<core.String, core.dynamic>)
            : null,
      );