HostParameters.fromJson constructor

HostParameters.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HostParameters.fromJson(Map<String, dynamic> json) {
  return HostParameters(
    json['apiHost'] as String,
    json['paymentAuthApiHost'] as String,
    json['authApiHost'] as String,
    json['configHost'] as String,
  );
}