ThreepidCreds.fromJson constructor

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

Implementation

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