PortRange.fromJson constructor

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

Implementation

factory PortRange.fromJson(Map<String, dynamic> json) {
  return PortRange(
    minRange: json['MinRange'] as int,
    maxRange: json['MaxRange'] as int?,
  );
}