ParameterConstraints.fromJson constructor

ParameterConstraints.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ParameterConstraints.fromJson(Map<String, dynamic> json) {
  return ParameterConstraints(
    required: json['required'] as bool?,
  );
}