AccountSessionPaymentDetails.fromJson constructor
AccountSessionPaymentDetails.fromJson(
- Object? json
Implementation
factory AccountSessionPaymentDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountSessionPaymentDetails(
enabled: (map['enabled'] as bool),
features: map['features'] == null
? null
: AccountSessionFeatures.fromJson(map['features']),
);
}