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