fromJson static method
Inherited by: InputCredentialsApplePay InputCredentialsGooglePay InputCredentialsNew InputCredentialsSaved
Implementation
static InputCredentialsNew? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputCredentialsNew(
data: (json['data'] as String?) ?? '',
allowSave: (json['allow_save'] as bool?) ?? false,
);
}