Source constructor

Source({
  1. String? id,
  2. int? amount,
  3. String? clientSecret,
  4. required SourceCodeVerification codeVerification,
  5. int? created,
  6. String? currency,
  7. String? flow,
  8. bool? liveMode,
  9. Map<String, String>? metaData,
  10. required SourceOwner owner,
  11. required SourceReceiver receiver,
  12. required SourceRedirect redirect,
  13. String? status,
  14. required Map<String, Object> sourceTypeData,
  15. StripeSourceTypeModel? sourceTypeModel,
  16. String? type,
  17. required String typeRaw,
  18. String? usage,
})

Implementation

Source({
  this.id,
  this.amount,
  this.clientSecret,
  required this.codeVerification,
  this.created,
  this.currency,
  this.flow,
  this.liveMode,
  this.metaData,
  required this.owner,
  required this.receiver,
  required this.redirect,
   this.status,
  required this.sourceTypeData,
  this.sourceTypeModel,
  this.type,
  required this.typeRaw,
  this.usage,
});