TurnServerCredentials.fromJson constructor

TurnServerCredentials.fromJson(
  1. Map<String, Object?> json
)

Implementation

TurnServerCredentials.fromJson(Map<String, Object?> json)
    : password = json['password'] as String,
      ttl = json['ttl'] as int,
      uris = (json['uris'] as List).map((v) => v as String).toList(),
      username = json['username'] as String;