Bandwidth.fromJson constructor

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

Implementation

factory Bandwidth.fromJson(Map<String, dynamic> json) {
  return Bandwidth(
    downloadSpeed: json['DownloadSpeed'] as int?,
    uploadSpeed: json['UploadSpeed'] as int?,
  );
}