TaxRateCreatedEvent.fromJson constructor

TaxRateCreatedEvent.fromJson(
  1. Object? json
)

Implementation

factory TaxRateCreatedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TaxRateCreatedEvent(object: TaxRate.fromJson(map['object']));
}