TaxIdsOwner.fromJson constructor

TaxIdsOwner.fromJson(
  1. Object? json
)

Implementation

factory TaxIdsOwner.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TaxIdsOwner(
    account: map['account'] == null ? null : (map['account'] as String),
    customer: map['customer'] == null ? null : (map['customer'] as String),
    type: TaxIDsOwnerType.fromJson(map['type']),
  );
}