fromJson static method
Implementation
static PaymentOption? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PaymentOption(
title: (json['title'] as String?) ?? '',
url: (json['url'] as String?) ?? '',
);
}