InspectConstraints.fromJson constructor

InspectConstraints.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory InspectConstraints.fromJson(Map<String, Object?> json) =>
    InspectConstraints(
      minWidth: _in(json['minWidth']),
      maxWidth: _in(json['maxWidth']),
      minHeight: _in(json['minHeight']),
      maxHeight: _in(json['maxHeight']),
    );