CreditNoteUpdatedEvent.fromJson constructor

CreditNoteUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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