PermissionsPolicyBlockLocator.fromJson constructor

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

Implementation

factory PermissionsPolicyBlockLocator.fromJson(Map<String, dynamic> json) {
  return PermissionsPolicyBlockLocator(
    frameId: FrameId.fromJson(json['frameId'] as String),
    blockReason: PermissionsPolicyBlockReason.fromJson(
      json['blockReason'] as String,
    ),
  );
}