AccountTreasurySettings.fromJson constructor
AccountTreasurySettings.fromJson(
- Object? json
Implementation
factory AccountTreasurySettings.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountTreasurySettings(
tosAcceptance: map['tos_acceptance'] == null
? null
: AccountTermsOfService.fromJson(map['tos_acceptance']));
}