TaxCode.fromJson constructor

TaxCode.fromJson(
  1. Object? json
)

Implementation

factory TaxCode.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TaxCode(
    description: (map['description'] as String),
    id: (map['id'] as String),
    name: (map['name'] as String),
  );
}