CustomerTaxIdDataItem.fromJson constructor

CustomerTaxIdDataItem.fromJson(
  1. Object? json
)

Implementation

factory CustomerTaxIdDataItem.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerTaxIdDataItem(
    type: CustomerType.fromJson(map['type']),
    value: (map['value'] as String),
  );
}