ConstrainsEntity.fromJson constructor

ConstrainsEntity.fromJson(
  1. Map<String, dynamic> jsonRes
)

Implementation

factory ConstrainsEntity.fromJson(Map<String, dynamic> jsonRes) =>
    ConstrainsEntity(
      required: asT<bool?>(jsonRes['required']),
      minimum: asT<int?>(jsonRes['minimum']),
      maximum: asT<int?>(jsonRes['maximum']),
    );