PaymentTokenResponse.fromMap constructor

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

Implementation

factory PaymentTokenResponse.fromMap(Map<String, dynamic> map) {
  return PaymentTokenResponse(id: map['id'], method: map['method'], extraInfo: ExtraInfo.fromMap(map['extra_info']));
}