AuthenticationThreePidCreds.fromJson constructor

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

Implementation

AuthenticationThreePidCreds.fromJson(Map<String, Object?> json)
    : super.fromJson(json) {
  final creds = json['threepid_creds'];
  if (creds is Map<String, Object?>) {
    threepidCreds = ThreepidCreds.fromJson(creds);
  }
}