DomStorageItemUpdatedEvent.fromJson constructor

DomStorageItemUpdatedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DomStorageItemUpdatedEvent.fromJson(Map<String, dynamic> json) {
  return DomStorageItemUpdatedEvent(
    storageId: StorageId.fromJson(json['storageId'] as Map<String, dynamic>),
    key: json['key'] as String,
    oldValue: json['oldValue'] as String,
    newValue: json['newValue'] as String,
  );
}