fromMap static method

PaymentResponse fromMap(
  1. Map map
)

Implementation

static PaymentResponse fromMap(Map<dynamic, dynamic> map) {
  final Map<String, String> response = {};
  map.forEach((key, value) => response.addAll({'$key': '$value'}));
  return PaymentResponse(response);
}