Servicer.fromJson constructor
Servicer.fromJson(
- dynamic json
Implementation
Servicer.fromJson(dynamic json) {
_isIntegrated = json['isIntegrated'];
_servicerAddressType = json['servicerAddressType'];
_liabilityType = json['liabilityType'];
_processorName = json['processorName'];
_id = json['_id'];
if (json['authSteps'] != null) {
_authSteps = [];
json['authSteps'].forEach((v) {
_authSteps?.add(AuthSteps.fromJson(v));
});
}
_forgotPasswordUrl = json['forgotPasswordUrl'];
_logoUrl = json['logoUrl'];
_loginUrl = json['loginUrl'];
_name = json['name'];
_configuration =
json['configuration'] != null ? Configuration.fromJson(json['configuration']) : null;
_rating = json['rating'];
if (json['servicerAddress'] != null) {
_servicerAddress = [];
json['servicerAddress'].forEach((v) {
_servicerAddress?.add(ServicerAddress.fromJson(v));
});
}
}