SourceAttributes.fromMap constructor
Implementation
factory SourceAttributes.fromMap(Map<String, dynamic> map) {
return SourceAttributes(
type: map['type'] ?? '',
amount: (map['amount'] as num).toDouble(),
currency: map['currency'] ?? '',
redirect: Redirect.fromMap(map['redirect']),
billing: PayMongoBilling.fromMap(map['billing']),
);
}