ThreePidCredentials.fromJson constructor

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

Implementation

ThreePidCredentials.fromJson(Map<String, Object?> json)
    : clientSecret = json['client_secret'] as String,
      idAccessToken = json['id_access_token'] as String,
      idServer = json['id_server'] as String,
      sid = json['sid'] as String;