B2CAuthority.fromJson constructor
Creates a B2CAuthority from a JSON map.
Implementation
B2CAuthority.fromJson(Map<String, dynamic> data) {
this.authorityURL = data["authority_url"];
if (data.containsKey("type"))
this.authorityType = data["type"];
else
this.authorityType = "B2C";
if (data.containsKey("default"))
this.isDefault = data["default"];
else
this.isDefault = false;
}