LocalPortDetails.fromJson constructor

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

Implementation

factory LocalPortDetails.fromJson(Map<String, dynamic> json) {
  return LocalPortDetails(
    port: json['port'] as int?,
    portName: json['portName'] as String?,
  );
}