PostTaxIdsOptions.fromJson constructor
PostTaxIdsOptions.fromJson(
- Object? json
Implementation
factory PostTaxIdsOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PostTaxIdsOptions(
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
owner: map['owner'] == null ? null : TaxIdsOwner.fromJson(map['owner']),
type: CustomerType.fromJson(map['type']),
value: (map['value'] as String),
);
}