fromJson static method
Implementation
static OnRampPaymentSession? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return OnRampPaymentSession(
sessionId: (json['session_id'] as String?) ?? '',
expirationDate: (json['expiration_date'] as int?) ?? 0,
url: (json['url'] as String?) ?? '',
);
}