SourceParams.fromJson constructor
Implementation
factory SourceParams.fromJson(Map<String, dynamic> json) {
return SourceParams(
amount: json['amount'],
currency: json['currency'],
returnURL: json['returnURL'],
type: json['type'],
name: json['name'],
statementDescriptor: json['statement_descriptor'],
country: json['country'],
email: json['email'],
card: json['card']);
}