AuthResponseModel.fromJson constructor
Implementation
factory AuthResponseModel.fromJson(Map<String, dynamic> json) {
return AuthResponseModel(
errorDetails: json['ErrorDetails'] ?? '',
username: json['Username'] ?? '',
idpname_backend: json['idpname'] ?? '',
entities: (json['Entities'] as List)
.map((entity) => Entity.fromJson(entity))
.toList(),
);
}