DomStorageItemAddedEvent.fromJson constructor

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

Implementation

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