SourceTypeAlipay.fromJson constructor
SourceTypeAlipay.fromJson(
- Object? json
Implementation
factory SourceTypeAlipay.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SourceTypeAlipay(
dataString:
map['data_string'] == null ? null : (map['data_string'] as String),
nativeUrl:
map['native_url'] == null ? null : (map['native_url'] as String),
statementDescriptor: map['statement_descriptor'] == null
? null
: (map['statement_descriptor'] as String),
);
}