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