GetTaxCodesResponse.fromJson constructor
GetTaxCodesResponse.fromJson(
- Object? json
Implementation
factory GetTaxCodesResponse.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GetTaxCodesResponse(
data: (map['data'] as List<Object?>)
.map((el) => TaxCode.fromJson(el))
.toList(),
hasMore: (map['has_more'] as bool),
url: (map['url'] as String),
);
}