GetFrameOwnerResult.fromJson constructor

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

Implementation

factory GetFrameOwnerResult.fromJson(Map<String, dynamic> json) {
  return GetFrameOwnerResult(
    backendNodeId: BackendNodeId.fromJson(json['backendNodeId'] as int),
    nodeId: json.containsKey('nodeId')
        ? NodeId.fromJson(json['nodeId'] as int)
        : null,
  );
}