toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  var map = <String, dynamic>{};
  map['isIntegrated'] = _isIntegrated;
  map['servicerAddressType'] = _servicerAddressType;
  map['liabilityType'] = _liabilityType;
  map['processorName'] = _processorName;
  map['_id'] = _id;
  if (_authSteps != null) {
    map['authSteps'] = _authSteps?.map((v) => v.toJson()).toList();
  }
  map['forgotPasswordUrl'] = _forgotPasswordUrl;
  map['logoUrl'] = _logoUrl;
  map['loginUrl'] = _loginUrl;
  map['name'] = _name;
  if (_configuration != null) {
    map['configuration'] = _configuration?.toJson();
  }
  map['rating'] = _rating;
  if (_servicerAddress != null) {
    map['servicerAddress'] = _servicerAddress?.map((v) => v.toJson()).toList();
  }
  return map;
}