SettingsDefaults.fromJson constructor
SettingsDefaults.fromJson(
- Object? json
Implementation
factory SettingsDefaults.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SettingsDefaults(
taxBehavior: map['tax_behavior'] == null
? null
: SettingsTaxBehavior.fromJson(map['tax_behavior']),
taxCode: map['tax_code'] == null ? null : (map['tax_code'] as String),
);
}