CallServerTypeWebrtc.fromJson constructor

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

Parse from a json

Implementation

factory CallServerTypeWebrtc.fromJson(Map<String, dynamic> json) =>
    CallServerTypeWebrtc(
      username: json['username'],
      password: json['password'],
      supportsTurn: json['supports_turn'],
      supportsStun: json['supports_stun'],
    );