PaywayPartnerRegisterMerchantResponseStatus.fromMap constructor

PaywayPartnerRegisterMerchantResponseStatus.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory PaywayPartnerRegisterMerchantResponseStatus.fromMap(
    Map<String, dynamic> map) {
  return PaywayPartnerRegisterMerchantResponseStatus(
    code: map['code'] as String,
    message: map['message'] as String,
    trace_id: map['trace_id'] != null ? map['trace_id'] as String : null,
    correlation_id: map['correlation_id'] != null
        ? map['correlation_id'] as String
        : null,
  );
}