PhonePePg.fromMap constructor

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

Implementation

factory PhonePePg.fromMap(Map<String, dynamic> map) {
  return PhonePePg(
    merchantId: map['merchantId'] as String,
    merchantUserId: map['merchantUserId'] as String,
    salt: map['salt'] as String,
    saltIndex: map['saltIndex'] as String,
    redirectUrl: map['redirectUrl'] as String,
    callbackUrl: map['callbackUrl'] as String,
    debug: map['debug'] as bool,
  );
}