Authentication.fromJson constructor
Implementation
factory Authentication.fromJson(Map<String, dynamic> json) {
return Authentication(
rules:
decodeListMessage(json['rules'], AuthenticationRule.fromJson) ?? [],
providers:
decodeListMessage(json['providers'], AuthProvider.fromJson) ?? [],
);
}