SharedStorageAccessedEvent.fromJson constructor
SharedStorageAccessedEvent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SharedStorageAccessedEvent.fromJson(Map<String, dynamic> json) {
return SharedStorageAccessedEvent(
accessTime: network.TimeSinceEpoch.fromJson(json['accessTime'] as num),
type: SharedStorageAccessType.fromJson(json['type'] as String),
mainFrameId: page.FrameId.fromJson(json['mainFrameId'] as String),
ownerOrigin: json['ownerOrigin'] as String,
params: SharedStorageAccessParams.fromJson(
json['params'] as Map<String, dynamic>),
);
}