CreatePaymentResponse.fromMap constructor
Implementation
factory CreatePaymentResponse.fromMap(Map<String, dynamic> map) {
return CreatePaymentResponse(
id: map['id'],
source:
map['source'] != null ? SourceResult.fromMap(map['source']) : null,
type: map['type'],
);
}