fromJson method

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

Implementation

void fromJson(Map<String, dynamic> json) {
  serverUrl = json['serverUrl'];
  serverPort = json['serverPort'];
  serverPort = json['roomId'] ?? '';
}